]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/redactions/show.html.erb
Merge remote-tracking branch 'upstream/pull/1814'
[rails.git] / app / views / redactions / show.html.erb
index b9786992ce8542f70577455a999c14512312ce6b..99f7cd1f1a42d834434f3ab37cfa72b8607d65ed 100644 (file)
@@ -5,7 +5,7 @@
 
 <p>
   <b><%= t 'redaction.show.user' %></b>
-  <%= link_to(@redaction.user.display_name, {:controller => 'user', :action => 'view', :display_name => @redaction.user.display_name}) %>
+  <%= link_to(@redaction.user.display_name, user_path(@redaction.user)) %>
 </p>
 <p class="richtext">
   <b><%= t 'redaction.show.description' %></b>