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:
- 557 Bytes
1 | class Admin::ThemesController < Admin::BaseController |
2 | |
3 | def index |
4 | @themes = Theme.find_all |
5 | @themes.each do |theme| |
6 | theme.description_html = TextFilter.filter_text(theme.description, self, nil, [:markdown,:smartypants]) |
7 | end |
8 | @active = this_blog.current_theme |
9 | end |
10 | |
11 | def preview |
12 | send_file "#{Theme.themes_root}/#{params[:theme]}/preview.png", :type => 'image/png', :disposition => 'inline', :stream => false |
13 | end |
14 | |
15 | def switchto |
16 | this_blog.theme = params[:theme] |
17 | this_blog.save |
18 | redirect_to :action => 'index' |
19 | end |
20 | end |