X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/eb7b0c05e3e49f848377d74aab4953f552b8ca89..9f84c6f46e14eb64f985d2b67a331957f648380a:/app/views/user_blocks/edit.html.erb diff --git a/app/views/user_blocks/edit.html.erb b/app/views/user_blocks/edit.html.erb index 0eee8a6f6..289f7a831 100644 --- a/app/views/user_blocks/edit.html.erb +++ b/app/views/user_blocks/edit.html.erb @@ -1,9 +1,8 @@ <% @title = t 'user_block.edit.title', :name => h(@user_block.user.display_name) %> <% content_for :heading do %>

<%= raw t('user_block.edit.title', - :name => link_to( - h(@user_block.user.display_name), - {:controller => 'user', :action => 'view', :display_name => @user_block.user.display_name})) %>

+ :name => link_to(h(@user_block.user.display_name), + user_path(@user_block.user))) %>