express_admin 2.0.0.a → 2.0.0.b

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
  SHA1:
3
- metadata.gz: c9fa4b4791a8a901c9018d9bf93b75ced23dbf02
4
- data.tar.gz: 4fb56d2b5d3f7e0724846493d05003ba34d288f9
3
+ metadata.gz: b7762a1895f4eebad3bc4f67a200462177de9bd5
4
+ data.tar.gz: ce3e58dc607cab8f1b73ae9d8c51d6f1586f4d02
5
5
  SHA512:
6
- metadata.gz: 3b55bd2b4667162f8811db67232a909142df3b71ba2f0f850f28b1c04c5d01e75337da794096db8503899a9446e50debb46c88b17aeb0e2d9aa7092a1d535d89
7
- data.tar.gz: c013542b783ed80b55c5c9ab20d4038b90eb6987cc6e05ed975070c71c9e29e530b5b0066379c873d307cd097df027934cd15c2cab37eb7280bfbf967c630c8f
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
- before_filter :expose_parent_resources
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
@@ -1,3 +1,3 @@
1
1
  module ExpressAdmin
2
- VERSION = "2.0.0.a"
2
+ VERSION = "2.0.0.b"
3
3
  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.a
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-06 00:00:00.000000000 Z
11
+ date: 2017-04-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: express_templates