Also refactor secondary links to put the <menu> element in the default layout instead of in each _secondary_links partial.
7 lines
322 B
Plaintext
7 lines
322 B
Plaintext
<% content_for(:secondary_links) do %>
|
|
<%= quick_search_form_for(:body_matches, comments_path, "comments") %>
|
|
<%= subnav_link_to "Listing", comments_path(:group_by => "post") %>
|
|
<%= subnav_link_to "Search", search_comments_path %>
|
|
<%= subnav_link_to "Help", wiki_pages_path(:title => "help:comments") %>
|
|
<% end %>
|