Orbit/app/views/devise/menu/_login_items.html.erb

9 lines
214 B
Plaintext

<% if user_signed_in? %>
<div id="log_out">
<%= link_to('Logout', destroy_user_session_path) %>
</div>
<% else %>
<div id="log_in">
<%= link_to('Login', new_user_session_path) %>
</div>
<% end %>