camaleon_cms 2.4.5.2 → 2.4.5.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 16e04fe84f1f83c8718973b60dc9d41e00ddd564
|
|
4
|
+
data.tar.gz: b30a00ab33ee54988b1a8a6aa8e15ff32c002228
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 740d0b6a600b7f6223889f2e9698e586267eb0a9c3533d016f8c02a633a41615ce9a68c2b5dbbfdcf224b2582302ecd84d6d4019303179bb3a7e810e75ec966a
|
|
7
|
+
data.tar.gz: f304e9ee98e5d0c433fe94b2d98d5196d3b7b2475b2bd40ce07a63ba8631d56a151f62d912cd71382bf2745b6bea3bfaa241d27bdafd1fba0e04ab7e63e815be
|
|
@@ -28,7 +28,7 @@ class CamaleonCms::CamaleonController < ApplicationController
|
|
|
28
28
|
# For APIs, you may want to use :null_session instead.
|
|
29
29
|
# Skip forgery check on .js files located in /assets/ to avoid CORS errors
|
|
30
30
|
# caused by requests for non-existent files.
|
|
31
|
-
protect_from_forgery with: :exception, unless: -> { request.fullpath.match
|
|
31
|
+
protect_from_forgery with: :exception, unless: -> { request.fullpath.match(/\A\/assets\/.*\.js\z/) }
|
|
32
32
|
layout Proc.new { |controller| controller.request.xhr? ? false : 'default' }
|
|
33
33
|
helper_method :current_user
|
|
34
34
|
|
data/lib/camaleon_cms/version.rb
CHANGED