module

AbstractController

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.

Files

  • actionpack/lib/abstract_controller.rb
  • actionpack/lib/abstract_controller/asset_paths.rb
  • actionpack/lib/abstract_controller/base.rb
  • actionpack/lib/abstract_controller/callbacks.rb
  • actionpack/lib/abstract_controller/collector.rb
  • actionpack/lib/abstract_controller/helpers.rb
  • actionpack/lib/abstract_controller/layouts.rb
  • actionpack/lib/abstract_controller/logger.rb
  • actionpack/lib/abstract_controller/railties/routes_helpers.rb
  • actionpack/lib/abstract_controller/rendering.rb
  • actionpack/lib/abstract_controller/translation.rb
  • actionpack/lib/abstract_controller/url_for.rb
  • actionpack/lib/abstract_controller/view_paths.rb

Nested classes and modules