Oops, that should be 1.minute
This commit is contained in:
parent
8d568b05c4
commit
6043a370ad
|
@ -161,7 +161,7 @@ class ApplicationController < ActionController::Base
|
||||||
yield if stale?(*args)
|
yield if stale?(*args)
|
||||||
|
|
||||||
# Add a one minute expiry
|
# Add a one minute expiry
|
||||||
expires_in time_length, public: true
|
expires_in 1.minute, public: true
|
||||||
else
|
else
|
||||||
yield
|
yield
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue