]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/user/_popup.html.erb
Merge remote-tracking branch 'upstream/pull/1839'
[rails.git] / app / views / user / _popup.html.erb
index 8a63fbb25e4f66be57846530a33403d4b3c15f6c..80446b7a9369270c8639393136da5e2d94adc439 100644 (file)
@@ -1,5 +1,5 @@
 <div class="user_popup">
   <%= user_thumbnail popup %>
   <p><%= t('user.popup.' + type) %></p>
 <div class="user_popup">
   <%= user_thumbnail popup %>
   <p><%= t('user.popup.' + type) %></p>
-  <p><%= link_to popup.display_name, :controller => "user", :action => "view", :display_name => popup.display_name %></p>
+  <p><%= link_to popup.display_name, user_path(popup) %></p>
 </div>
 </div>