Listing users

<% @users.each do |user| %> <% end %>
Name Email
<%=h user.name %> <%=h user.email %> <%= link_to 'Show', user %> <%= link_to 'Edit', edit_user_path(user) %> <%= link_to 'Destroy', user, :confirm => 'Are you sure?', :method => :delete %>

<%= link_to 'New user', new_user_path %>