X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/5966acc207874f3196a43700cb9306411c77fe47..801944dbe4694fd895058b9444bacbe4e57d53e1:/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 8c89c80f3..a5b165e9a 100644
--- a/app/views/user_blocks/edit.html.erb
+++ b/app/views/user_blocks/edit.html.erb
@@ -1,8 +1,6 @@
<% @title = t ".title", :name => @user_block.user.display_name %>
<% content_for :heading do %>
-
<%= t(".heading_html",
- :name => link_to(@user_block.user.display_name,
- user_path(@user_block.user))) %>
+ <%= t(".heading_html", :name => link_to(@user_block.user.display_name, @user_block.user)) %>