Description:
update application.rb
Commit status:
[Not Reviewed]
References:
Diff options:
Comments:
0 Commit comments
0 Inline Comments
Unresolved TODOs:
There are no unresolved TODOs
r791:9e88bf03eef2 - - 1 file changed: 1 inserted, 0 deleted
@@ -14,12 +14,13 | |||||
|
14 | # Settings in config/environments/* take precedence over those specified here. |
|
14 | # Settings in config/environments/* take precedence over those specified here. |
|
15 | # Application configuration should go into files in config/initializers |
|
15 | # Application configuration should go into files in config/initializers |
|
16 | # -- all .rb files in that directory are automatically loaded. |
|
16 | # -- all .rb files in that directory are automatically loaded. |
|
17 |
|
17 | ||
|
18 | # Custom directories with classes and modules you want to be autoloadable. |
|
18 | # Custom directories with classes and modules you want to be autoloadable. |
|
19 | config.autoload_paths += %W(#{config.root}/lib) |
|
19 | config.autoload_paths += %W(#{config.root}/lib) |
|
|
20 | + config.eager_load_paths << Rails.root.join('lib') | ||
|
20 |
|
21 | ||
|
21 | # Only load the plugins named here, in the order given (default is alphabetical). |
|
22 | # Only load the plugins named here, in the order given (default is alphabetical). |
|
22 | # :all can be used as a placeholder for all plugins not explicitly named. |
|
23 | # :all can be used as a placeholder for all plugins not explicitly named. |
|
23 | # config.plugins = [ :exception_notification, :ssl_requirement, :all ] |
|
24 | # config.plugins = [ :exception_notification, :ssl_requirement, :all ] |
|
24 |
|
25 | ||
|
25 | # Activate observers that should always be running. |
|
26 | # Activate observers that should always be running. |
You need to be logged in to leave comments.
Login now