User logged in turned into normal link in the topbar
Otherwise there are two tabs in the navigation that appear to be active which is misleading.
This commit is contained in:
parent
cd5f34ba0e
commit
1a089c4b0a
1 changed files with 1 additions and 1 deletions
|
|
@ -29,6 +29,6 @@ header
|
|||
// TODO: Show link for admin/moderation view if admin is logged in
|
||||
li.has-form
|
||||
- if user_signed_in?
|
||||
= link_to "#{current_user.email} (Logout)", destroy_user_session_path, :method => :delete, class: 'button'
|
||||
= link_to "#{current_user.email} (Logout)", destroy_user_session_path, :method => :delete
|
||||
- else
|
||||
= link_to 'Login', new_user_session_path
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue