Changesets can be listed by changeset number.
The Git repository is here.
- Revision:
- 193
- Log:
First stage commit of Typo 4.1, modified for the ROOL site.
Includes all local modifications but a final pass needs to be
made to delete any files left over from earlier Typo versions
that shouldn't be here anymore. See the 'tags' section of the
repository for a clean Typo 4.1 tree.Note that symlinks to shared files in the RISC OS Open theme
directory have been deliberately included this time around; I
decided that on balance it was better to leave them in as
placeholders, since unlike symlinks in app/views/shared, the
Typo theme structure is not a standard Rails concept.
- Author:
- rool
- Date:
- Wed Apr 04 18:51:02 +0100 2007
- Size:
- 480 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 => '/admin/general' |
18 | end |
19 | |
20 | def sweep_html |
21 | expire_fragment(/^contents_html.*/) |
22 | |
23 | flash[:notice] = 'HTML was cleared' |
24 | redirect_to :controller => '/admin/general' |
25 | end |
26 | |
27 | end |