Users


To edit your own user, use the Profile Option. To change your admin password, visit the <%= link_to "admin profile edit page", edit_admin_registration_path %>.

<% @users.each do |user| %> <% next if user.is_admin? %> <% next if user.equal?(current_user) %> <% end %>
Email
<%= link_to user.email, account_path(user) %> <%= link_to 'Edit', edit_account_path(user) %> <%= link_to 'Destroy', account_path(user), method: :delete, data: { confirm: 'Are you sure?' } %>
<%= link_to 'New user', new_account_path %>