module
AbstractController
v3.2.8 -
Show latest stable
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
- AbstractController::ActionNotFound
- AbstractController::AssetPaths
- AbstractController::Base
- AbstractController::Callbacks
- AbstractController::Collector
- AbstractController::DoubleRenderError
- AbstractController::Error
- AbstractController::Helpers
- AbstractController::I18nProxy
- AbstractController::Layouts
- AbstractController::Logger
- AbstractController::Rendering
- AbstractController::Translation
- AbstractController::ViewPaths