From 8acb9467ea656fe2ba8836fa64bd6bca36314977 Mon Sep 17 00:00:00 2001 From: hukl Date: Mon, 2 Nov 2009 22:19:01 +0100 Subject: expires in 20 minutes now --- app/controllers/content_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app') diff --git a/app/controllers/content_controller.rb b/app/controllers/content_controller.rb index db0e5e2..26aac7d 100644 --- a/app/controllers/content_controller.rb +++ b/app/controllers/content_controller.rb @@ -11,7 +11,7 @@ class ContentController < ApplicationController # returns the most recent page associated to this node instead. def render_page - expires_in 10.minutes, :public => true + expires_in 20.minutes, :public => true if @page and @page.public? render( -- cgit v1.3