Display the right title for friends' changesets
This commit is contained in:
parent
9545ca4ff3
commit
99d901c2ec
1 changed files with 1 additions and 1 deletions
|
@ -291,7 +291,7 @@ class ChangesetController < ApplicationController
|
||||||
user_link = render_to_string :partial => "user", :object => user
|
user_link = render_to_string :partial => "user", :object => user
|
||||||
end
|
end
|
||||||
|
|
||||||
if params[:friends] and user
|
if params[:friends] and @user
|
||||||
@title = t 'changeset.list.title_friend'
|
@title = t 'changeset.list.title_friend'
|
||||||
@heading = t 'changeset.list.heading_friend'
|
@heading = t 'changeset.list.heading_friend'
|
||||||
@description = t 'changeset.list.description_friend'
|
@description = t 'changeset.list.description_friend'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue