Use link_to_user instead of a manual link

This commit is contained in:
Eric Davis 2011-05-11 15:40:55 -07:00
parent 315ec5f65c
commit 90df645cae
1 changed files with 1 additions and 1 deletions

View File

@ -1,6 +1,6 @@
<h3><%=l(:label_my_account)%></h3>
<p><%=l(:field_login)%>: <strong><%= link_to(h(@user.login), user_path(@user) %></strong><br />
<p><%=l(:field_login)%>: <strong><%= link_to_user(@user, :format => :username) %></strong><br />
<%=l(:field_created_on)%>: <%= format_time(@user.created_on) %></p>