X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/d075fc4c1f3e7a17b4c71e7a06fd6cf318e0ef2f..d3700e6201b4b78a70bbb2941572edc985b63c2c:/app/views/user/_popup.html.erb?ds=sidebyside 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) %>