summaryrefslogtreecommitdiffstats
path: root/app/views/my
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-05-12 00:26:58 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-05-12 00:26:58 +0000
commit9121a060a54e512077e41effe30e3f7892adc438 (patch)
tree205ce9ea08c08b08c97c49a7e5bd28430d8f2d7d /app/views/my
parent1d78dd8324583686830ab25d77d0a9f2b8543564 (diff)
downloadredmine-9121a060a54e512077e41effe30e3f7892adc438.tar.gz
redmine-9121a060a54e512077e41effe30e3f7892adc438.zip
Use link_to_user instead of a manual link in my account sidebar (#8345).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5748 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/my')
-rw-r--r--app/views/my/_sidebar.rhtml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/my/_sidebar.rhtml b/app/views/my/_sidebar.rhtml
index cc4a7850f..407fe990f 100644
--- a/app/views/my/_sidebar.rhtml
+++ b/app/views/my/_sidebar.rhtml
@@ -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>