]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/user_blocks/blocks_on.html.erb
Merge remote-tracking branch 'upstream/pull/4600'
[rails.git] / app / views / user_blocks / blocks_on.html.erb
index 7d1f83ce357e533edee42e529b6c27d8c172d0b6..ed03342dc73deed0014fc4516dd0df4baf28721f 100644 (file)
@@ -1,6 +1,6 @@
 <% @title = t(".title", :name => @user.display_name) %>
 <% content_for :heading do %>
-  <h1><%= t(".heading_html", :name => link_to(@user.display_name, user_path(@user))) %></h1>
+  <h1><%= t(".heading_html", :name => link_to(@user.display_name, @user)) %></h1>
 <% end %>
 
 <% unless @user_blocks.empty? %>