Cache Sweeping

Expire cached revisions of deleted pages.
Tweak the appearance of "history" page a bit.
This commit is contained in:
Jacques Distler 2009-03-31 23:37:21 -05:00
parent 69bfc1028b
commit 98918954e0
4 changed files with 16 additions and 1 deletions

View file

@ -9,9 +9,11 @@
<li>
<%= link_to_existing_page page %>
<%- if page.revisions.length > 1 %>
<span class="views">
(<%= link_to_revision(page, page.revisions.length, text='diff',
mode='diff') %>)
(<%= link_to_history(page, text='history') %>)
</span>
<%- end -%>
<div class="byline" style="margin-bottom: 0px">
by <%= link_to_page(page.author) %>