thecore_ui_rails_admin 2.5.9 → 2.5.10

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: 43fa1879372767822bfaf93962c2aa910f013e8c03b74ffdc0d0776903e27753
4
- data.tar.gz: ca849d25b6f297b340f7495d84d231a59799820255cfbb92bec2424d0820d40a
3
+ metadata.gz: 436b2fd4b12a451fa58e3bc437e00496889f94e65bcf848e20421fcb574d87b3
4
+ data.tar.gz: ddc400dcdc47f218eb6580eaf46ee4675a0e2fa6abca4c9106e0a8df1508cbae
5
5
  SHA512:
6
- metadata.gz: b6a31cb68d41251d647816adcd8e774c156ef72877885c143aaa8884a19a5e51da29c2f2f4a9f6da1ad0652af52a01c632fbee090d44a3339a0cb084d1eb6891
7
- data.tar.gz: a6cb795acc5c560dcabc72000727079a9fd82ce69665b8700ac9f9ab6beca0e88d5f7da8f0162435d9157a9a60aaa7af0edee39639ee7a4cfa7bd70babe2081a
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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: thecore_ui_rails_admin
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.5.9
4
+ version: 2.5.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gabriele Tassoni