Oops, that should be 1.minute

This commit is contained in:
Robin Ward 2013-02-06 12:07:22 -05:00
parent 8d568b05c4
commit 6043a370ad

View File

@ -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