module TrustyCms::Initializer
def after_initialize
* mark extension app paths for eager loading
* add extension controller paths
* call +activate+ on all radiant extensions
* initialize the extendable partial sets that make up the admin interface
* initialize the navigation tabs in the admin interface
* hook up radiant view paths in controllers and notifiers
Extends the Rails initializer with some extra steps at the end of initialization:
def after_initialize super extension_loader.activate_extensions # also calls initialize_views TrustyCms::Application.config.add_controller_paths(extension_loader.paths(:controller)) TrustyCms::Application.config.add_eager_load_paths(extension_loader.paths(:eager_load)) end