Listing snippets

<% @snippets.each do |snippet| %> <% end %>
<%= snippet.name %> <%= link_to 'Edit', edit_admin_snippet_path(snippet) %> <%= link_to 'Destroy', admin_snippet_path(snippet), :confirm => 'Are you sure?', :method => :delete %>

<%= link_to 'New snippets', new_admin_snippet_path, :class => 'button positive' %>