Also refactor secondary links to put the <menu> element in the default layout instead of in each _secondary_links partial.
6 lines
206 B
Plaintext
6 lines
206 B
Plaintext
<% content_for(:secondary_links) do %>
|
|
<%= subnav_link_to "Listing", artists_path %>
|
|
<%= subnav_link_to "New", new_artist_path %>
|
|
<%= subnav_link_to "Search", search_artist_versions_path %>
|
|
<% end %>
|