Base
  • Domains
  • Contact
  • <% if admin? %>
  • Admin
  • <% end %> <% if user_signed_in? %>
  • <%= current_user.try(:email) %>
    • <%= link_to('Logout', destroy_user_session_path, method: :delete) %>
    • Profile
    • <%= link_to('Change Password', edit_user_registration_path) %>
    • Edit
  • <% end %>