X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/03f733c4f4091dc53e391aa74a020681af98a4ff..b15a8c73d9c555243952d300e19d6d4127843f19:/app/views/user/_popup.html.erb diff --git a/app/views/user/_popup.html.erb b/app/views/user/_popup.html.erb index cad5f7909..80446b7a9 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 %>
+<%= link_to popup.display_name, user_path(popup) %>