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