method
add_plugin_load_paths
v2.1.0 -
Show latest stable
- Class:
Rails::Plugin::Loader
add_plugin_load_paths()public
Adds the load paths for every plugin into the $LOAD_PATH. Plugin load paths are added after the application’s lib directory, to ensure that an application can always override code within a plugin.
Plugin load paths are also added to Dependencies.load_paths, and Dependencies.load_once_paths.