add links to profile

This commit is contained in:
Andreas N 2015-02-12 18:10:16 +01:00
parent f58ec9f2a6
commit 9aabccdddc
1 changed files with 4 additions and 2 deletions

View File

@ -12,9 +12,11 @@
.media-body
- if current_user.display_name.blank?
.profile--dropdown-username
%a{href: show_user_profile_path(current_user.screen_name)}
= current_user.screen_name
- else
.profile--dropdown-displayname
%a{href: show_user_profile_path(current_user.screen_name)}
= current_user.display_name
.profile--username
= current_user.screen_name