orbit-basic/app/views/devise/menu/_login_items.html.erb

9 lines
189 B
Plaintext

<% if user_signed_in? %>
<li>
<%= link_to('Logout', destroy_user_session_path) %>
</li>
<% else %>
<li>
<%= link_to('Login', new_user_session_path) %>
</li>
<% end %>