diff options
| author | hukl <contact@smyck.org> | 2009-11-03 20:20:09 +0100 |
|---|---|---|
| committer | hukl <contact@smyck.org> | 2009-11-03 20:20:09 +0100 |
| commit | d0ce44e797f48cc655139e6841b718758636d935 (patch) | |
| tree | de177dcb10c6850df6746ebc15504f220dae027c /app | |
| parent | 0c186fe46bbd5fa0b09ea9025c0d6ed256d8d11d (diff) | |
rss updates expire in 31 minutes
Diffstat (limited to 'app')
| -rw-r--r-- | app/controllers/rss_controller.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app/controllers/rss_controller.rb b/app/controllers/rss_controller.rb index e749449..8d4fca9 100644 --- a/app/controllers/rss_controller.rb +++ b/app/controllers/rss_controller.rb | |||
| @@ -3,7 +3,9 @@ class RssController < ApplicationController | |||
| 3 | before_filter :authenticate, :only => :recent_changes | 3 | before_filter :authenticate, :only => :recent_changes |
| 4 | before_filter :get_host | 4 | before_filter :get_host |
| 5 | 5 | ||
| 6 | def updates | 6 | def updates |
| 7 | expires_in 31.minutes, :public => true | ||
| 8 | |||
| 7 | @items = Page.heads.find_tagged_with( | 9 | @items = Page.heads.find_tagged_with( |
| 8 | "update", | 10 | "update", |
| 9 | :order => "published_at DESC", | 11 | :order => "published_at DESC", |
