tap/app/views/users/index.html.erb
2014-11-09 22:53:39 +01:00

13 lines
No EOL
186 B
Text

<h1>All users</h1>
<%= will_paginate %>
<ul class="users">
<% @users.each do |user| %>
<li>
<%= link_to user.name, user %>
</li>
<% end %>
</ul>
<%= will_paginate %>