effective_orders 1.4.6 → 1.4.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/effective_orders/engine.rb +8 -2
- data/lib/effective_orders/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8bd1b0461a1e15f28fe6517bfa7d3690fdb73792
|
4
|
+
data.tar.gz: f4602fdd9df75b848db2d0738ce05f7d38f8fbe8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f54c72da379ddc8aabfaf98d292b1271f0186991303d5d03bf647a35eba11c3a15da6d1f1ac00eba4ad5c3b8e08161a12ed0e78dafb0d2c1c2dbe1bc385d2ee3
|
7
|
+
data.tar.gz: 2606e13a44beb4a5c65dad8704859a6741041e79a7977ef97e6ad9139c09e85365ef33f8de591bc5edd4060e867afb9cb4f2df13be9612729b246663a58d0b5a
|
@@ -44,8 +44,14 @@ module EffectiveOrders
|
|
44
44
|
# This prepends the load path so someone can override the assets.rb if they want.
|
45
45
|
initializer 'effective_orders.active_admin' do
|
46
46
|
if EffectiveOrders.use_active_admin
|
47
|
-
require '
|
48
|
-
|
47
|
+
require 'activeadmin'
|
48
|
+
puts "AM HERE IN EFFECTIVE ORDERS"
|
49
|
+
|
50
|
+
ActiveAdmin::Event.subscribe ActiveAdmin::Application::BeforeLoadEvent do
|
51
|
+
puts "SUBSCRIBED ACTIVEADMIN EVENT"
|
52
|
+
::ActiveAdmin.application.load_paths.unshift Dir["#{config.root}/active_admin"]
|
53
|
+
end
|
54
|
+
|
49
55
|
end
|
50
56
|
end
|
51
57
|
|