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

13 lines
186 B
Text
Raw Normal View History

2014-11-06 22:53:11 +01:00
<h1>All users</h1>
2014-11-09 22:53:39 +01:00
<%= will_paginate %>
2014-11-06 22:53:11 +01:00
<ul class="users">
<% @users.each do |user| %>
<li>
<%= link_to user.name, user %>
</li>
<% end %>
2014-11-09 22:53:39 +01:00
</ul>
<%= will_paginate %>