diff options
Diffstat (limited to 'app/views/snippets/index.html.erb')
-rw-r--r-- | app/views/snippets/index.html.erb | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/app/views/snippets/index.html.erb b/app/views/snippets/index.html.erb deleted file mode 100644 index 601ba13..0000000 --- a/app/views/snippets/index.html.erb +++ /dev/null @@ -1,29 +0,0 @@ -<p id="notice"><%= notice %></p> - -<h1>Snippets</h1> - -<table> - <thead> - <tr> - <th>Title</th> - <th>Code</th> - <th colspan="3"></th> - </tr> - </thead> - - <tbody> - <% @snippets.each do |snippet| %> - <tr> - <td><%= snippet.title %></td> - <td><%= snippet.code %></td> - <td><%= link_to 'Show', snippet %></td> - <td><%= link_to 'Edit', edit_snippet_path(snippet) %></td> - <td><%= link_to 'Destroy', snippet, method: :delete, data: { confirm: 'Are you sure?' } %></td> - </tr> - <% end %> - </tbody> -</table> - -<br> - -<%= link_to 'New Snippet', new_snippet_path %> |