Sha256: 313b6e3e8d9cc571d695bebc98edcf93004d5b282e9cfff9fd2c97af90ca4293
Contents?: true
Size: 499 Bytes
Versions: 9
Compression:
Stored size: 499 Bytes
Contents
<h1>Listing users</h1> <table> <tr> <th>Name</th> <th>Image url</th> <th></th> <th></th> <th></th> </tr> <% @users.each do |user| %> <tr> <td><%= user.name %></td> <td><%= user.image_url %></td> <td><%= link_to 'Show', user %></td> <td><%= link_to 'Edit', edit_user_path(user) %></td> <td><%= link_to 'Destroy', user, :confirm => 'Are you sure?', :method => :delete %></td> </tr> <% end %> </table> <br /> <%= link_to 'New User', new_user_path %>
Version data entries
9 entries across 9 versions & 1 rubygems