Skip to content

Link to user profile from account page #51

Merged
merged 1 commit into from May 11, 2011
+1 −1
View
2 app/views/my/_sidebar.rhtml
@@ -1,6 +1,6 @@
<h3><%=l(:label_my_account)%></h3>
-<p><%=l(:field_login)%>: <strong><%= @user.login %></strong><br />
+<p><%=l(:field_login)%>: <strong><%= link_to @user.login, user_path(@user) %></strong><br />
<%=l(:field_created_on)%>: <%= format_time(@user.created_on) %></p>
Something went wrong with that request. Please try again.