a guest Feb 23rd, 2019 68 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- <% if user_signed_in? %>
- Logged in as <strong><%= current_user.email %></strong>.
- <%= link_to 'Edit profile', edit_user_registration_path %> |
- <%= link_to "Logout", destroy_user_session_path, method: :delete %>
- <% else %>
- <%= link_to "Sign up", new_user_registration_path %> |
- <%= link_to "Login", new_user_session_path %>
- <% end %>
RAW Paste Data