Changesets can be listed by changeset number.
The Git repository is here.
- Revision:
- 13
- Log:
Initial import of Typo 2.6.0 sources from a downloaded Tarball.
Typo is a Ruby On Rails based blog engine.
- Author:
- adh
- Date:
- Sat Jul 22 22:25:02 +0100 2006
- Size:
- 459 Bytes
1 | class BlogSweeper < ActionController::Caching::Sweeper |
2 | observe Article, Category, Comment, Trackback, Page, Setting, Sidebar |
3 | |
4 | def after_save(record) |
5 | expire_for(record) |
6 | end |
7 | |
8 | def after_destroy(record) |
9 | expire_for(record) |
10 | end |
11 | |
12 | def expire_for(record) |
13 | case record |
14 | when Setting, Sidebar, Category, Comment, Trackback, Article |
15 | PageCache.sweep_all |
16 | when Page |
17 | PageCache.sweep("/pages/#{record.name}.html") |
18 | end |
19 | end |
20 | end |