summaryrefslogtreecommitdiff
path: root/app/views/servers/index.html.erb
diff options
context:
space:
mode:
authorLuke Shumaker <shumakl@purdue.edu>2014-04-06 13:58:00 -0400
committerLuke Shumaker <shumakl@purdue.edu>2014-04-06 13:58:00 -0400
commita81c1ca571b0bb41f0acba6594559c7405fc2bb1 (patch)
treea7c6dba97cbb45e8aad23f838c677c8e69b52c33 /app/views/servers/index.html.erb
parent82840d22116835474614b80ebe72c282bcfc5f5e (diff)
Simplify the server controller and views, as it is a singular resource
Diffstat (limited to 'app/views/servers/index.html.erb')
-rw-r--r--app/views/servers/index.html.erb27
1 files changed, 0 insertions, 27 deletions
diff --git a/app/views/servers/index.html.erb b/app/views/servers/index.html.erb
deleted file mode 100644
index b3064f4..0000000
--- a/app/views/servers/index.html.erb
+++ /dev/null
@@ -1,27 +0,0 @@
-<h1>Listing servers</h1>
-
-<table>
- <thead>
- <tr>
- <th>Default user permissions</th>
- <th></th>
- <th></th>
- <th></th>
- </tr>
- </thead>
-
- <tbody>
- <% @servers.each do |server| %>
- <tr>
- <td><%= server.default_user_permissions %></td>
- <td><%= link_to 'Show', server %></td>
- <td><%= link_to 'Edit', edit_server_path(server) %></td>
- <td><%= link_to 'Destroy', server, method: :delete, data: { confirm: 'Are you sure?' } %></td>
- </tr>
- <% end %>
- </tbody>
-</table>
-
-<br>
-
-<%= link_to 'New Server', new_server_path %>