Extracted categories menu to a helper, and got rid of hrefs

This commit is contained in:
Alexey Verkhovsky 2005-04-07 03:24:02 +00:00
parent 1df5f3f764
commit a74b3f8934
5 changed files with 18 additions and 32 deletions

View file

@ -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 %>