tap/app/views/users/index.html.erb

12 lines
264 B
Text
Raw Normal View History

2014-11-06 22:53:11 +01:00
<h1>All users</h1>
<ul class="users">
<% @users.each do |user| %>
<li>
2014-11-26 11:58:51 +01:00
<%= link_to user.name, user %> |
<%= link_to "delete", user, method: :delete,
data: { confirm: "You sure?" } %>
2014-11-06 22:53:11 +01:00
</li>
<% end %>
2014-11-09 22:53:39 +01:00
</ul>