X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/72e33046c80bddc0ca9b1336786dcb4b349137f7..d5e6acaaceb5e74a76369bdfb9413d26ba99e721:/app/views/user/_popup.html.erb diff --git a/app/views/user/_popup.html.erb b/app/views/user/_popup.html.erb index 8a63fbb25..957664b3b 100644 --- a/app/views/user/_popup.html.erb +++ b/app/views/user/_popup.html.erb @@ -1,5 +1,5 @@
<%= t('user.popup.' + type) %>
-<%= link_to popup.display_name, :controller => "user", :action => "view", :display_name => popup.display_name %>
+<%= t('.' + type) %>
+<%= link_to popup.display_name, user_path(popup) %>