Also refactor secondary links to put the <menu> element in the default layout instead of in each _secondary_links partial.
5 lines
154 B
Plaintext
5 lines
154 B
Plaintext
<% content_for(:secondary_links) do %>
|
|
<%= subnav_link_to "Listing", news_updates_path %>
|
|
<%= subnav_link_to "New", new_news_update_path %>
|
|
<% end %>
|