summaryrefslogtreecommitdiff
path: root/app/views/users/index.html.erb
diff options
context:
space:
mode:
authorDavisLWebb <davislwebb@ymail.com>2014-03-01 20:23:29 -0500
committerDavisLWebb <davislwebb@ymail.com>2014-03-01 20:23:29 -0500
commit2eb242f3e5b1f1ab66d84556cabcad965fe387aa (patch)
treed80e7422f39ef2b49801dbefd586e8e48500e43b /app/views/users/index.html.erb
parent318d7649200fd51c7b1582c3f93534de9f2a3cf5 (diff)
changed the user section of the generate
Diffstat (limited to 'app/views/users/index.html.erb')
-rw-r--r--app/views/users/index.html.erb31
1 files changed, 0 insertions, 31 deletions
diff --git a/app/views/users/index.html.erb b/app/views/users/index.html.erb
deleted file mode 100644
index 14739ae..0000000
--- a/app/views/users/index.html.erb
+++ /dev/null
@@ -1,31 +0,0 @@
-<h1>Listing users</h1>
-
-<table>
- <thead>
- <tr>
- <th>Name</th>
- <th>Pw hash</th>
- <th>Groups</th>
- <th></th>
- <th></th>
- <th></th>
- </tr>
- </thead>
-
- <tbody>
- <% @users.each do |user| %>
- <tr>
- <td><%= user.name %></td>
- <td><%= user.pw_hash %></td>
- <td><%= user.groups %></td>
- <td><%= link_to 'Show', user %></td>
- <td><%= link_to 'Edit', edit_user_path(user) %></td>
- <td><%= link_to 'Destroy', user, method: :delete, data: { confirm: 'Are you sure?' } %></td>
- </tr>
- <% end %>
- </tbody>
-</table>
-
-<br>
-
-<%= link_to 'New User', new_user_path %>