]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/changeset/history.html.erb
Merge remote-tracking branch 'upstream/pull/1973'
[rails.git] / app / views / changeset / history.html.erb
index 17faf7f8d8e80956d8ba655b2cdf7b367460801b..ec3adcb024134292bd5650083f1311f9fffd1e25 100644 (file)
@@ -7,7 +7,7 @@
 <%
    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