rails-cache_control 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 867f4ddad8c8a1a98e182dfd7a03b8d19927f10d
|
4
|
+
data.tar.gz: f56201198122528dc57dacb3a69f0931b0ae1254
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9c5ccb49dd0566b958d0ec4b0ea5131fd027f4f867972378af081e892371fef4b0f411e3456ca111126bca7fbb8bb7da3ff7a90882d583583bc0fe259d3054f6
|
7
|
+
data.tar.gz: b6b9d05cd4cf118da138e27dcb4936ffcd079fb1bd862e26df401161d4fb752da7171e82bba71485b3629ffa05f0a7006101c061491ae688d050ee82163014e3
|
@@ -4,7 +4,7 @@ module ActionController
|
|
4
4
|
class ActionCacheFilter
|
5
5
|
def around_with_expires_in(controller, &block)
|
6
6
|
expires_in = @store_options[:expires_in]
|
7
|
-
controller.expires_in(expires_in,
|
7
|
+
controller.expires_in(expires_in, public: true) if expires_in
|
8
8
|
around_without_expires_in(controller, &block)
|
9
9
|
end
|
10
10
|
alias_method_chain :around, :expires_in
|