Changesets can be listed by changeset number.
The Git repository is here.
- Revision:
- 15
- Log:
Attempt to update Typo to a Typo SVN HEAD release from around the
time the prototype installation was set up on the RISC OS Open Limited
web site. Timestamps place this at 04-Jul so a revision from 05-Jul or
earlier was pulled and copied over the 2.6.0 tarball stable code.
- Author:
- adh
- Date:
- Sat Jul 22 23:27:35 +0100 2006
- Size:
- 590 Bytes
1 | class Admin::CacheController < Admin::BaseController |
2 | |
3 | def index |
4 | list |
5 | render_action 'list' |
6 | end |
7 | |
8 | def list |
9 | @page_cache_size = PageCache.count |
10 | end |
11 | |
12 | def sweep |
13 | PageCache.sweep_all |
14 | expire_fragment(/.*/) |
15 | |
16 | flash[:notice] = 'Cache was cleared' |
17 | redirect_to :controller => 'general' |
18 | end |
19 | |
20 | def sweep_html |
21 | Article.transaction do |
22 | Article.update_all 'body_html = null' |
23 | Comment.update_all 'body_html = null' |
24 | Page.update_all 'body_html = null' |
25 | end |
26 | |
27 | flash[:notice] = 'HTML was cleared' |
28 | redirect_to :controller => 'general' |
29 | end |
30 | |
31 | end |