Module: AbstractController
- Extended by:
- ActiveSupport::Autoload
- Defined in:
- lib/abstract_controller/url_for.rb,
lib/abstract_controller.rb,
lib/abstract_controller/base.rb,
lib/abstract_controller/logger.rb,
lib/abstract_controller/helpers.rb,
lib/abstract_controller/layouts.rb,
lib/abstract_controller/callbacks.rb,
lib/abstract_controller/collector.rb,
lib/abstract_controller/rendering.rb,
lib/abstract_controller/view_paths.rb,
lib/abstract_controller/asset_paths.rb,
lib/abstract_controller/translation.rb,
lib/abstract_controller/railties/routes_helpers.rb
Overview
Includes url_for
into the host class (e.g. an abstract controller or mailer). The class has to provide a RouteSet
by implementing the _routes
methods. Otherwise, an exception will be raised.
Note that this module is completely decoupled from HTTP - the only requirement is a valid _routes
implementation.
Defined Under Namespace
Modules: AssetPaths, Callbacks, Collector, Helpers, Layouts, Logger, Railties, Rendering, Translation, UrlFor, ViewPaths Classes: ActionNotFound, Base, DoubleRenderError, Error, I18nProxy