diff options
Diffstat (limited to 'app')
| -rw-r--r-- | app/controllers/content_controller.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/controllers/content_controller.rb b/app/controllers/content_controller.rb index 13d06e9..fde2570 100644 --- a/app/controllers/content_controller.rb +++ b/app/controllers/content_controller.rb | |||
| @@ -11,6 +11,8 @@ class ContentController < ApplicationController | |||
| 11 | # returns the most recent page associated to this node instead. | 11 | # returns the most recent page associated to this node instead. |
| 12 | def render_page | 12 | def render_page |
| 13 | 13 | ||
| 14 | expires_in 10.minutes, :public => true | ||
| 15 | |||
| 14 | if @page and @page.public? | 16 | if @page and @page.public? |
| 15 | template = @page.valid_template | 17 | template = @page.valid_template |
| 16 | 18 | ||
