thecore_ui_rails_admin 2.5.9 → 2.5.10
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 +4 -4
- data/config/initializers/thecore_concern.rb +5 -1
- 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: 436b2fd4b12a451fa58e3bc437e00496889f94e65bcf848e20421fcb574d87b3
|
|
4
|
+
data.tar.gz: ddc400dcdc47f218eb6580eaf46ee4675a0e2fa6abca4c9106e0a8df1508cbae
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b84789f3dd2c7ae33194df07f61d505ca746654cb9319d4bbc2c4d11f33739821402a54ee214cb5780dd82e590b7ef6ec11edde1f37232b40beed9dda8bc9263
|
|
7
|
+
data.tar.gz: 973c3192ffb95474ccabccd89c183d6312c31f74a907aab56727596fe9a14e8b12bbfd167e40df46f9d8485bc448b694223ef80aeef03cedb2dd25980dec3d98
|
|
@@ -134,13 +134,17 @@ module ThecoreConcern
|
|
|
134
134
|
# - The request is an Ajax request as this can lead to very unexpected
|
|
135
135
|
# behaviour.
|
|
136
136
|
def storable_location?
|
|
137
|
-
request.get? && is_navigational_format? && !devise_controller? && !request.xhr?
|
|
137
|
+
request.get? && is_navigational_format? && !devise_controller? && !request.xhr? && is_storable?
|
|
138
138
|
end
|
|
139
139
|
|
|
140
140
|
def store_user_location!
|
|
141
141
|
# :user is the scope we are authenticating
|
|
142
142
|
store_location_for(:user, request.fullpath)
|
|
143
143
|
end
|
|
144
|
+
|
|
145
|
+
def is_storable?
|
|
146
|
+
true
|
|
147
|
+
end
|
|
144
148
|
end
|
|
145
149
|
|
|
146
150
|
# include the extension
|