thecore_ui_rails_admin 3.0.5 → 3.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/config/initializers/thecore_ui_rails_admin_concern.rb +1 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 953f3462757f91a3434f925f7d49f39b222a3121ec19023cf820d4e7de446834
|
4
|
+
data.tar.gz: f889522a830f2a8ef4b1a546c7b7b1bbc734e1480acbd1744240c3d979686220
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e49d5bf6d19e4a6031602cf33f03f51eb8ada43b53861383a8d05bc82ba54232e4663d73a5c51460c5e44821ce62c94f90e38891166b80c96c253bd830cf04ec
|
7
|
+
data.tar.gz: 5ac31d81add4e6dc88175b725ea15c5b110e4f1693aded0790df0024b5f2a4ed18f474ec3faabdc7b3b0f8cf9c3c428be8ba817805ade646be57b1854e8390de
|
@@ -7,6 +7,7 @@ module ThecoreUiRailsAdminConcern
|
|
7
7
|
# Prevent CSRF attacks by raising an exception.
|
8
8
|
# For APIs, you may want to use :null_session instead.
|
9
9
|
# layout 'thecore'
|
10
|
+
puts "Protecting from Forgery with exception and prepend"
|
10
11
|
protect_from_forgery with: :exception, prepend: true
|
11
12
|
rescue_from CanCan::AccessDenied do |exception|
|
12
13
|
redirect_to main_app.root_url, alert: exception.message
|