Also refactor secondary links to put the <menu> element in the default layout instead of in each _secondary_links partial.
8 lines
331 B
Plaintext
8 lines
331 B
Plaintext
<% content_for(:secondary_links) do %>
|
|
<%= subnav_link_to "Listing", posts_path %>
|
|
<%= subnav_link_to "Upload", new_upload_path %>
|
|
<%= subnav_link_to "Search", search_post_versions_path %>
|
|
<%= subnav_link_to "Changes", post_versions_path %>
|
|
<%= subnav_link_to "Help", wiki_pages_path(:title => "help:posts") %>
|
|
<% end %>
|