Changesets can be listed by changeset number.
The Git repository is here.
- Revision:
- 228
- Log:
Added recently revised pages XML feed, to match the recently
revised pages HTML page ("recent.rss" instead of "recent" at
the end of the relevant URL). Fixes Ticket #140.
- Author:
- rool
- Date:
- Thu Jun 14 20:48:09 +0100 2007
- Size:
- 404 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 recent_feed |
14 | render :layout => false |
15 | end |
16 | |
17 | def show |
18 | if @page = Page.find_by_title(params[:page_title]) |
19 | render |
20 | else |
21 | redirect_to(new_url(:page_title => params[:page_title])) |
22 | end |
23 | end |
24 | end |