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