WebDNS
  • Domains
  • <% if admin? %>
  • Admin
    • Groups
    • Jobs
    • Orphans
  • <% end %> <% if user_signed_in? %>
  • <%= current_user.try(:email) %>
    • <%= link_to('Logout', destroy_user_session_path, method: :delete) %>
    • Profile
    • <% if current_user.can_change_password? %>
    • <%= link_to('Change Password', edit_user_registration_path) %>
    • <% end %>
    • <%= link_to('API Token', token_user_path(current_user)) %>
  • <% end %>