cloudflare_image_resizing 1.0.3 → 1.0.4
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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7c68b86b959931e8f6120f6a0cc8fb7b3267641e1b1d575bfb0407cbc65619d1
|
4
|
+
data.tar.gz: 5c686dbcd59fedd52b17d76b53439920af6a1efb296dc66de28faa08e795c0c4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aa486b0dbc54b91378a25314c1d6cf75fe3797afbb3b9568eb06f11120c2ad49d51e6c77cb6dd7ad9db040e231633c9cd30a012aed9d2c7a3538fe905570bea5
|
7
|
+
data.tar.gz: 4601a5807384d8fe238705cb2f6f0ad91558033ab90f0192ee9f2464aee15235a16328e42c4e3e8b852397f50782e2777582eb4c548d5e23322976f7cc53c69c
|
@@ -1,5 +1,13 @@
|
|
1
1
|
module CloudflareImageResizing
|
2
2
|
class Engine < ::Rails::Engine
|
3
3
|
config.cloudflare_image_resizing = Configuration.new
|
4
|
+
|
5
|
+
config.to_prepare do
|
6
|
+
ActiveSupport.on_load :action_controller do
|
7
|
+
if respond_to?(:helper)
|
8
|
+
helper CloudflareImageResizing::Helper
|
9
|
+
end
|
10
|
+
end
|
11
|
+
end
|
4
12
|
end
|
5
13
|
end
|