% unless @breweries.empty? -%>
Title | |||
---|---|---|---|
<%= brewery.title -%> | <%= link_to 'Show', brewery_path(brewery.page.title_for_url) %> | <%= link_to 'Edit', edit_brewery_path(brewery.page.title_for_url) %> | <%= link_to 'Destroy', brewery_path(brewery.page.title_for_url), :confirm => 'Are you sure?', :method => :delete %> |
No breweries, yet.
<% end -%> <% content_for :sidebar do -%> <%= link_to 'New brewery', new_brewery_path -%>