method

add_plugin_load_paths

Importance_1
v2.2.1 - Show latest stable - 0 notes - 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.

Show source
Register or log in to add new notes.