From f27614b576266848c8dc0c96fdac65e4218c3980 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Wed, 11 May 2011 15:34:26 -0600 Subject: [PATCH] make username a link to their profile page --- app/views/my/_sidebar.rhtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/my/_sidebar.rhtml b/app/views/my/_sidebar.rhtml index 2089feea..e7689c13 100644 --- a/app/views/my/_sidebar.rhtml +++ b/app/views/my/_sidebar.rhtml @@ -1,6 +1,6 @@

<%=l(:label_my_account)%>

-

<%=l(:field_login)%>: <%= @user.login %>
+

<%=l(:field_login)%>: <%= link_to @user.login, user_path(@user) %>
<%=l(:field_created_on)%>: <%= format_time(@user.created_on) %>