Extracted categories menu to a helper, and got rid of hrefs
This commit is contained in:
parent
1df5f3f764
commit
a74b3f8934
5 changed files with 18 additions and 32 deletions
|
@ -1,12 +1,6 @@
|
|||
<% @title = "Recently Revised" %>
|
||||
|
||||
<% unless @categories.empty? %>
|
||||
<div id="categories">
|
||||
<strong>Categories</strong>:
|
||||
[<a href=".">Any</a>]
|
||||
<%= @category_links.join(', ') %>
|
||||
</div>
|
||||
<% end %>
|
||||
<%= categories_menu %>
|
||||
|
||||
<% unless @pages_by_revision.empty? %>
|
||||
<% revision_date = @pages_by_revision.first.revised_on %>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue