class TrustyCms::ExtensionPath
def load_paths
You can call the class method ExtensionPath.load_paths to get a flattened list of all the load paths in all the enabled extensions.
* path/test/helpers
* path/app/helpers
* path/app/metal
* path/app/controllers
* path/app/models
* path/lib
* path
that exist and are directories:
Returns a list of all the likely load paths found within this extension root. It includes all of these
def load_paths %w(lib app/models app/controllers app/metal app/helpers test/helpers).collect { |d| check_subdirectory(d) }.push(path).flatten.compact end