views: add html ids for main menu and subnav menu.
Also refactor secondary links to put the <menu> element in the default layout instead of in each _secondary_links partial.
This commit is contained in:
@@ -1,6 +1,4 @@
|
||||
<% content_for(:secondary_links) do %>
|
||||
<menu>
|
||||
<%= subnav_link_to "View posts", posts_path(:tags => "search:all") %>
|
||||
<%= subnav_link_to "Manage saved searches", saved_searches_path %>
|
||||
</menu>
|
||||
<%= subnav_link_to "View posts", posts_path(:tags => "search:all") %>
|
||||
<%= subnav_link_to "Manage saved searches", saved_searches_path %>
|
||||
<% end %>
|
||||
|
||||
Reference in New Issue
Block a user