vidpush/app/views/layouts/_header.html.erb

7 lines
231 B
Plaintext

<% if user_signed_in? %>
<%= link_to "Profile", edit_user_registration_path %>
<%= link_to "Logout", destroy_user_session_path, :method => :delete %>
<% else %>
<%= link_to "Sign in", new_user_session_path %>
<% end %>