<% @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 %>
<%= bootstrap_form_for(@user_block) do |f| %>
<%= hidden_field_tag "display_name", @user.display_name, :autocomplete => "off" %>