Skip to content
Browse files

use user handle for profile link in layout header

  • Loading branch information...
1 parent 2852529 commit f1b222a64db66729d186e4a4699568783cc89afb @timoschilling timoschilling committed Dec 18, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 app/views/layouts/application.html.erb
View
2 app/views/layouts/application.html.erb
@@ -27,7 +27,7 @@
<div id="nav">
<% if signed_in? %>
<div id="user-info">
- <a href="<%= profile_path(current_user) %>">
+ <a href="<%= profile_path(current_user.display_id) %>">
<%= gravatar(32, "user_gravatar") %>
<span><%= truncate(current_user.name) %></span>
</a>

0 comments on commit f1b222a

Please sign in to comment.
Something went wrong with that request. Please try again.