class Rails::Application::Configuration
def default_extension_paths
In test mode we also add a fixtures path for testing the extension loader.
There are no vendor/* directories in +TRUSTY_CMS_ROOT+ any more but the possibility remains for compatibility reasons.
TrustyCms.root/vendor/extensions
Rails.root/vendor/extensions
Sets the locations in which we look for vendored extensions. Normally:
def default_extension_paths env = ENV["RAILS_ENV"] || Rails.env paths = [Rails.root + 'vendor/extensions'] paths.unshift(TRUSTY_CMS_ROOT + "/vendor/extensions") unless Rails.root == TRUSTY_CMS_ROOT paths.unshift(TRUSTY_CMS_ROOT + "test/fixtures/extensions") if env =~ /test/ paths end