Changesets can be listed by changeset number.
The Git repository is here.
- Revision:
- 86
- Log:
Initial import of I2, an Instiki clone.
- Author:
- adh
- Date:
- Mon Oct 16 10:40:36 +0100 2006
- Size:
- 349 Bytes
1 | class PagesController < ApplicationController |
2 | cache_sweeper :page_sweeper |
3 | caches_page :index, :recent |
4 | |
5 | before_filter :find_book |
6 | |
7 | def index |
8 | end |
9 | |
10 | def recent |
11 | end |
12 | |
13 | def show |
14 | if @page = Page.find_by_title(params[:page_title]) |
15 | render |
16 | else |
17 | redirect_to(new_url(:page_title => params[:page_title])) |
18 | end |
19 | end |
20 | end |