Action Controller
Action Controller is a module of Action Pack.
Action Controller provides a base controller class that can be subclassed to implement filters and actions to handle requests. The result of an action is typically content generated from views.
Namespace
Module
- ActionController::AllowBrowser
- ActionController::ApiRendering
- ActionController::Caching
- ActionController::ConditionalGet
- ActionController::ContentSecurityPolicy
- ActionController::Cookies
- ActionController::DataStreaming
- ActionController::DefaultHeaders
- ActionController::EtagWithFlash
- ActionController::EtagWithTemplateDigest
- ActionController::Flash
- ActionController::FormBuilder
- ActionController::Head
- ActionController::Helpers
- ActionController::HttpAuthentication
- ActionController::ImplicitRender
- ActionController::Instrumentation
- ActionController::Live
- ActionController::Logging
- ActionController::MimeResponds
- ActionController::ParameterEncoding
- ActionController::ParamsWrapper
- ActionController::PermissionsPolicy
- ActionController::Railties
- ActionController::RateLimiting
- ActionController::Redirecting
- ActionController::Renderers
- ActionController::Rendering
- ActionController::RequestForgeryProtection
- ActionController::Rescue
- ActionController::Streaming
- ActionController::StrongParameters
- ActionController::Testing
- ActionController::UrlFor
Class
- ActionController::API
- ActionController::Base
- ActionController::ExpectedParameterMissing
- ActionController::InvalidParameterKey
- ActionController::LiveTestResponse
- ActionController::LogSubscriber
- ActionController::Metal
- ActionController::MissingRenderer
- ActionController::ParameterMissing
- ActionController::Parameters
- ActionController::Renderer
- ActionController::RespondToMismatchError
- ActionController::TestCase
- ActionController::UnfilteredParameters
- ActionController::UnpermittedParameters
Methods
Class Public methods
add_renderer(key, &block)
See Renderers.add
📝 Source code
# File actionpack/lib/action_controller/metal/renderers.rb, line 7
def self.add_renderer(key, &block)
Renderers.add(key, &block)
end
🔎 See on GitHub
remove_renderer(key)
See Renderers.remove
📝 Source code
# File actionpack/lib/action_controller/metal/renderers.rb, line 12
def self.remove_renderer(key)
Renderers.remove(key)
end
🔎 See on GitHub