add links to profile
This commit is contained in:
parent
f58ec9f2a6
commit
9aabccdddc
|
@ -12,9 +12,11 @@
|
||||||
.media-body
|
.media-body
|
||||||
- if current_user.display_name.blank?
|
- if current_user.display_name.blank?
|
||||||
.profile--dropdown-username
|
.profile--dropdown-username
|
||||||
|
%a{href: show_user_profile_path(current_user.screen_name)}
|
||||||
= current_user.screen_name
|
= current_user.screen_name
|
||||||
- else
|
- else
|
||||||
.profile--dropdown-displayname
|
.profile--dropdown-displayname
|
||||||
|
%a{href: show_user_profile_path(current_user.screen_name)}
|
||||||
= current_user.display_name
|
= current_user.display_name
|
||||||
.profile--username
|
.profile--username
|
||||||
= current_user.screen_name
|
= current_user.screen_name
|
||||||
|
|
Loading…
Reference in New Issue