express_admin 2.0.0.a → 2.0.0.b
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/lib/express_admin/standard_actions.rb +2 -2
- data/lib/express_admin/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b7762a1895f4eebad3bc4f67a200462177de9bd5
|
|
4
|
+
data.tar.gz: ce3e58dc607cab8f1b73ae9d8c51d6f1586f4d02
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 85a580c87ae60d043ab257539735ce5fc0eeb74055b592ad391760f7cc1428cd6766080d292ec0e2c56f8f2c5d9171374a4eebdffce154b729db87f47f55a01d
|
|
7
|
+
data.tar.gz: 9c5839c9307c258eb890fa2142d40bc41f6212f4b83683bbd61ac12ae7f9d4377af91b04f8ae394986cfb2743a79ef6e66a745e800e04dc9ef84f6f71e8eca06
|
|
@@ -13,7 +13,7 @@ module ExpressAdmin
|
|
|
13
13
|
class_attribute :defaults
|
|
14
14
|
self.defaults = {layout: 'layouts/express_admin/admin'}
|
|
15
15
|
|
|
16
|
-
|
|
16
|
+
before_action :expose_parent_resources
|
|
17
17
|
end
|
|
18
18
|
end
|
|
19
19
|
|
|
@@ -420,7 +420,7 @@ module ExpressAdmin
|
|
|
420
420
|
|
|
421
421
|
def extract_path_info_from_application_routes
|
|
422
422
|
begin
|
|
423
|
-
recognized_path = Rails.application.routes.recognize_path(request.path)
|
|
423
|
+
recognized_path = Rails.application.routes.recognize_path(request.path, method: request.params[:_method] || request.method)
|
|
424
424
|
rescue ActionController::RoutingError => e
|
|
425
425
|
end
|
|
426
426
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: express_admin
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.0.0.
|
|
4
|
+
version: 2.0.0.b
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Steven Talcott Smith
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2017-04-
|
|
11
|
+
date: 2017-04-18 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: express_templates
|