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:
- 608 Bytes
1 | class Admin::BaseController < ApplicationController |
2 | cattr_accessor :look_for_migrations |
3 | @@look_for_migrations = true |
4 | |
5 | layout 'administration' |
6 | before_filter :login_required, :except => [ :login, :signup ] |
7 | before_filter :look_for_needed_db_updates, :except => [:login, :signup, :update_database, :migrate] |
8 | |
9 | cache_sweeper :blog_sweeper |
10 | |
11 | private |
12 | |
13 | def look_for_needed_db_updates |
14 | if Migrator.offer_migration_when_available |
15 | redirect_to :controller => '/admin/general', :action => 'update_database' if Migrator.current_schema_version != Migrator.max_schema_version |
16 | end |
17 | end |
18 | |
19 | end |