From 6043a370ad9bd5837a6f7f567e4207073d9a5936 Mon Sep 17 00:00:00 2001 From: Robin Ward Date: Wed, 6 Feb 2013 12:07:22 -0500 Subject: [PATCH] Oops, that should be 1.minute --- app/controllers/application_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index 4a95d6f2a..18fb2898f 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -161,7 +161,7 @@ class ApplicationController < ActionController::Base yield if stale?(*args) # Add a one minute expiry - expires_in time_length, public: true + expires_in 1.minute, public: true else yield end