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
@@ -17,6 +17,7 | |||||
|
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. |
You need to be logged in to leave comments.
Login now