@@ -15,9 +15,9 @@ class Application < Rails::Application
15
15
config . assets . paths << Rails . root . join ( 'vendor' , 'assets' , 'components' )
16
16
config . assets . precompile += %w( js-routes.js application.js minimal.css application.css )
17
17
# Custom directories with classes and modules you want to be autoloadable.
18
- config . autoload_paths += %W{ #{ config . root } /app}
19
- config . autoload_once_paths += %W{ #{ config . root } /lib}
20
- # config.autoload_paths += %W(#{config.root}/lib)
18
+ # config.autoload_paths += %W{#{config.root}/app}
19
+ # config.autoload_once_paths += %W{#{config.root}/lib}
20
+ config . autoload_paths += %W( #{ config . root } /lib)
21
21
22
22
# Only load the plugins named here, in the order given (default is alphabetical).
23
23
# :all can be used as a placeholder for all plugins not explicitly named.
@@ -65,10 +65,10 @@ class Application < Rails::Application
65
65
config . assets . enabled = true
66
66
67
67
# Speed up precompile by not loading the environment
68
- config . assets . initialize_on_precompile = true
68
+ config . assets . initialize_on_precompile = false
69
69
70
70
# Version of your assets, change this if you want to expire all your assets
71
- config . assets . version = '20 '
71
+ config . assets . version = '21 '
72
72
73
73
# Configure generators values. Many other options are available, be sure to check the documentation.
74
74
config . generators do |g |
0 commit comments