Action Controller
Action Controller 是 Action Pack 的模組。
Action Controller 提供了基礎控制器類別,可以當成子類別使用,以實作用於處理要求的過濾器和動作。動作的結果通常是從檢視產生的內容。
命名空間
- 模組 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
- 類別 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
方法
類別公開方法
add_renderer(key, &block) 鏈接
請參閱 Renderers.add
remove_renderer(key) 鏈接
請參閱 Renderers.remove