Also refactor secondary links to put the <menu> element in the default layout instead of in each _secondary_links partial.
9 lines
549 B
Plaintext
9 lines
549 B
Plaintext
<% content_for(:secondary_links) do %>
|
|
<%= quick_search_form_for(:text_matches, artist_commentaries_path, "commentaries") %>
|
|
<%= subnav_link_to "Search", search_artist_commentaries_path %>
|
|
<%= subnav_link_to "Listing", artist_commentaries_path %>
|
|
<%= subnav_link_to "Recent changes", artist_commentary_versions_path %>
|
|
<%= subnav_link_to "Translation requests", artist_commentaries_path(:search => {:post_tags_match => "commentary_request"}) %>
|
|
<%= subnav_link_to "Help", wiki_pages_path(:title => "help:artist_commentary") %>
|
|
<% end %>
|