1
0
Fork 0
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:
Brian Jones 2017-05-17 19:32:56 -04:00
parent 385d9af299
commit 73293053b5

View file

@ -14,8 +14,16 @@ module AbstractController
# expected to provide their own +render+ method, since rendering means
# different things depending on the context.
class Base
##
# Returns the HTTP response sent by the controller
attr_internal :response_body
##
# Returns the name of the action this controller is processing
attr_internal :action_name
##
# Returns the formats processed by the controller
attr_internal :formats
include ActiveSupport::Configurable