Changesets can be listed by changeset number.
The Git repository is here.
- Revision:
- 89
- Log:
Attribute ":condition" should have read ":conditions", but since the
relevant condition doesn't seem to be met by the first "book" in the
database, the condition has been temporarily removed; presently,
there will only be one "book" in the ROOL Wiki anyway. Effect is
to cause redirection from .../rails/i2 to .../rails/i2/documentation.
- Author:
- adh
- Date:
- Mon Oct 16 11:33:01 +0100 2006
- Size:
- 291 Bytes
1 | class BooksController < ApplicationController |
2 | before_filter :find_book, :only => [ :feed ] |
3 | |
4 | caches_page :feed |
5 | |
6 | def premiere |
7 | redirect_to home_url(:book_url_name => Book.find(:first)) #, :conditions => "premiere = '1'")) |
8 | end |
9 | |
10 | def feed |
11 | render :layout => false |
12 | end |
13 | end |