diff --git a/app/views/layouts/_topbar.slim b/app/views/layouts/_topbar.slim index c9bc296..00cff98 100644 --- a/app/views/layouts/_topbar.slim +++ b/app/views/layouts/_topbar.slim @@ -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