Method: Rails::Engine::Configuration#autoload_paths
- Defined in:
- railties/lib/rails/engine/configuration.rb
#autoload_paths ⇒ Object
An array of custom autoload paths to be added to the ones defined automatically by Rails. These won’t be eager loaded, unless you push them to eager_load_paths too, which is recommended.
This collection is empty by default, it accepts strings and Pathname objects.
If you’d like to add lib to it, please see autoload_lib.
20 21 22 |
# File 'railties/lib/rails/engine/configuration.rb', line 20 def autoload_paths @autoload_paths end |