Merge remote-tracking branch 'upstream/pull/1974'
[rails.git] / app / views / changeset / history.html.erb
index bd8c247037dadfb005a898e338d72b84acbb25bd..ba745cb032489d833ddcf36b997fb6b3c0a49b0f 100644 (file)
@@ -7,7 +7,7 @@
 <%
    set_title(changeset_index_title(params, current_user))
    if params[:display_name]
-     @heading = t('changeset.index.title_user', :user => link_to(params[:display_name], :controller => "user", :action => "view", :display_name => params[:display_name])).html_safe
+     @heading = t('changeset.index.title_user', :user => link_to(params[:display_name], user_path(:display_name => params[:display_name]))).html_safe
    else
      @heading = @title
    end