From: Tom Hughes Date: Fri, 16 Dec 2011 08:29:19 +0000 (+0000) Subject: Display the right title for friends' changesets X-Git-Tag: live~5956 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/99d901c2ec7259ba2d92f0844d1c5586d6743a91 Display the right title for friends' changesets --- diff --git a/app/controllers/changeset_controller.rb b/app/controllers/changeset_controller.rb index 7dd7006fe..b736e332b 100644 --- a/app/controllers/changeset_controller.rb +++ b/app/controllers/changeset_controller.rb @@ -291,7 +291,7 @@ class ChangesetController < ApplicationController user_link = render_to_string :partial => "user", :object => user end - if params[:friends] and user + if params[:friends] and @user @title = t 'changeset.list.title_friend' @heading = t 'changeset.list.heading_friend' @description = t 'changeset.list.description_friend'