]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/changeset/history.html.erb
Rename user#view to user#show
[rails.git] / app / views / changeset / history.html.erb
index 1516118eb92683b4edb30bb33b0f5ccfac7d2a7a..ec3adcb024134292bd5650083f1311f9fffd1e25 100644 (file)
@@ -5,9 +5,9 @@
 <% end -%>
 
 <%
-   set_title(changeset_list_title(params, @user))
+   set_title(changeset_list_title(params, current_user))
    if params[:display_name]
-     @heading = t('changeset.list.title_user', :user => link_to(params[:display_name], :controller => "user", :action => "view", :display_name => params[:display_name])).html_safe
+     @heading = t('changeset.list.title_user', :user => link_to(params[:display_name], user_path(:display_name => params[:display_name]))).html_safe
    else
      @heading = @title
    end