Cache Sweeping
Expire cached revisions of deleted pages. Tweak the appearance of "history" page a bit.
This commit is contained in:
parent
69bfc1028b
commit
98918954e0
4 changed files with 16 additions and 1 deletions
|
@ -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) %>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue