intesys_asset_manager 1.1.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/asset_manager/engine.rb +2 -2
- data/lib/intesys_asset_manager/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: 3c24bb0f83c9dace45ee3394d7ab264f6c64622f
|
4
|
+
data.tar.gz: 2312e500a10e27f46075c309accf465110a49986
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e363207ed39b267f79cc7ad31d8adfebb27d740c3e3cb46b4a8bda8869f5ce8cab9ff8054864c4f40bffd094b2e730572cbd0bb644167d4dac98effb023076fb
|
7
|
+
data.tar.gz: 81fcc9b22f918b664474a9e74e461b364c434eec98e7f9720a6ea3b419324adf44b255b735197b3554100cac0f5fd697d329b34c9bdd661e7696ee3257aa3a87
|
data/lib/asset_manager/engine.rb
CHANGED
@@ -16,8 +16,8 @@ module AssetManager
|
|
16
16
|
include AssetManager::AssetInstancesHelper
|
17
17
|
end
|
18
18
|
ActiveSupport.on_load :active_record do
|
19
|
-
Formtastic::Inputs.autoload(:AssetManagerInput, 'formtastic/inputs/asset_manager_input')
|
20
|
-
SimpleForm::Inputs.autoload(:AssetManagerInput, 'simple_form/inputs/asset_manager_input')
|
19
|
+
Formtastic::Inputs.autoload(:AssetManagerInput, 'formtastic/inputs/asset_manager_input') if defined?(Formtastic)
|
20
|
+
SimpleForm::Inputs.autoload(:AssetManagerInput, 'simple_form/inputs/asset_manager_input') if defined?(SimpleForm)
|
21
21
|
end
|
22
22
|
end
|
23
23
|
|