File tree 2 files changed +7
-3
lines changed
lib/spree/testing_support
2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 1
- Rails . application . config . assets . precompile << 'solidus_core_manifest.js'
1
+ if Rails . application . config . respond_to? ( :assets )
2
+ Rails . application . config . assets . precompile << 'solidus_core_manifest.js'
3
+ end
Original file line number Diff line number Diff line change @@ -73,8 +73,10 @@ class Application < ::Rails::Application
73
73
74
74
config . action_controller . include_all_helpers = false
75
75
76
- config . assets . paths << File . expand_path ( '../dummy_app/assets/javascripts' , __FILE__ )
77
- config . assets . paths << File . expand_path ( '../dummy_app/assets/stylesheets' , __FILE__ )
76
+ if config . respond_to? ( :assets )
77
+ config . assets . paths << File . expand_path ( '../dummy_app/assets/javascripts' , __FILE__ )
78
+ config . assets . paths << File . expand_path ( '../dummy_app/assets/stylesheets' , __FILE__ )
79
+ end
78
80
79
81
config . paths [ "config/database" ] = File . expand_path ( '../dummy_app/database.yml' , __FILE__ )
80
82
config . paths [ 'app/views' ] = File . expand_path ( '../dummy_app/views' , __FILE__ )
You can’t perform that action at this time.
0 commit comments