mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Document accessors response_body, action_name, formats [ci skip]
This commit is contained in:
parent
385d9af299
commit
73293053b5
1 changed files with 8 additions and 0 deletions
|
@ -14,8 +14,16 @@ module AbstractController
|
||||||
# expected to provide their own +render+ method, since rendering means
|
# expected to provide their own +render+ method, since rendering means
|
||||||
# different things depending on the context.
|
# different things depending on the context.
|
||||||
class Base
|
class Base
|
||||||
|
##
|
||||||
|
# Returns the HTTP response sent by the controller
|
||||||
attr_internal :response_body
|
attr_internal :response_body
|
||||||
|
|
||||||
|
##
|
||||||
|
# Returns the name of the action this controller is processing
|
||||||
attr_internal :action_name
|
attr_internal :action_name
|
||||||
|
|
||||||
|
##
|
||||||
|
# Returns the formats processed by the controller
|
||||||
attr_internal :formats
|
attr_internal :formats
|
||||||
|
|
||||||
include ActiveSupport::Configurable
|
include ActiveSupport::Configurable
|
||||||
|
|
Loading…
Reference in a new issue