From d0ce44e797f48cc655139e6841b718758636d935 Mon Sep 17 00:00:00 2001 From: hukl Date: Tue, 3 Nov 2009 20:20:09 +0100 Subject: rss updates expire in 31 minutes --- app/controllers/rss_controller.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 before_filter :authenticate, :only => :recent_changes before_filter :get_host - def updates + def updates + expires_in 31.minutes, :public => true + @items = Page.heads.find_tagged_with( "update", :order => "published_at DESC", -- cgit v1.3