This repository has been archived on 2020-05-27. You can view files and clone it, but cannot push or open issues/pull-requests.
barleysodas/app/views/breweries/show.rhtml

7 lines
217 B
Plaintext

<%= render :partial => 'pages/page' %>
<% content_for :sidebar do -%>
<%= link_to 'New Brewery', new_brewery_path -%><br />
<%= link_to 'Edit', edit_brewery_path(@brewery.page.title_for_url) -%><br />
<% end -%>