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

9 lines
214 B
Plaintext
Raw Normal View History

<% if user_signed_in? %>
2011-08-25 00:07:18 +00:00
<div id="log_out">
<%= link_to('Logout', destroy_user_session_path) %>
</div>
<% else %>
2011-08-25 00:07:18 +00:00
<div id="log_in">
<%= link_to('Login', new_user_session_path) %>
</div>
<% end %>