Listing categories

<% @categories.each do |category| %> <% end %>
Name Description
<%=h category.name %> <%=h category.description %> <%= link_to 'Show', category %> <%= link_to 'Edit', edit_category_path(category) %> <%= button_to 'Destroy', category, :confirm => 'Are you sure?', :method => :delete %>

<%= link_to 'New category', new_category_path %>