9 lines
189 B
Plaintext
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 %>
|