Module: AbstractController
- Extended by:
- ActiveSupport::Autoload
- Defined in:
- actionpack/lib/abstract_controller/url_for.rb,
actionpack/lib/abstract_controller.rb,
actionpack/lib/abstract_controller/base.rb,
actionpack/lib/abstract_controller/logger.rb,
actionpack/lib/abstract_controller/layouts.rb,
actionpack/lib/abstract_controller/helpers.rb,
actionpack/lib/abstract_controller/callbacks.rb,
actionpack/lib/abstract_controller/rendering.rb,
actionpack/lib/abstract_controller/collector.rb,
actionpack/lib/abstract_controller/view_paths.rb,
actionpack/lib/abstract_controller/asset_paths.rb,
actionpack/lib/abstract_controller/translation.rb,
actionpack/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
Method Summary
Methods included from ActiveSupport::Autoload
autoload, autoload_at, autoload_under, autoloads, eager_autoload, eager_autoload!