commit
ce57ae2df9
1 changed files with 1 additions and 0 deletions
|
|
@ -27,6 +27,7 @@
|
|||
%li.dropdown
|
||||
%a.dropdown-toggle{"data-toggle" => "dropdown", href: '#', id: "current-user-detail"}
|
||||
- if not current_user.name.blank?
|
||||
#{current_user.username}
|
||||
#{current_user.name}
|
||||
-else
|
||||
#{current_user.email}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue