diff options
author | Brian Jones <joshaidan@gmail.com> | 2017-05-17 19:32:56 -0400 |
---|---|---|
committer | Brian Jones <joshaidan@gmail.com> | 2017-05-17 19:32:56 -0400 |
commit | 73293053b587dc68435d1648411d6228b3b55d25 (patch) | |
tree | 6d2cf3041412736c93963168752fa285f2806122 /actionpack | |
parent | 385d9af299fbfac7f063de214d371545bafef5df (diff) | |
download | rails-73293053b587dc68435d1648411d6228b3b55d25.tar.gz rails-73293053b587dc68435d1648411d6228b3b55d25.tar.bz2 rails-73293053b587dc68435d1648411d6228b3b55d25.zip |
Document accessors response_body, action_name, formats [ci skip]
Diffstat (limited to 'actionpack')
-rw-r--r-- | actionpack/lib/abstract_controller/base.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/actionpack/lib/abstract_controller/base.rb b/actionpack/lib/abstract_controller/base.rb index e7cb6347a2..1e4754dada 100644 --- a/actionpack/lib/abstract_controller/base.rb +++ b/actionpack/lib/abstract_controller/base.rb @@ -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 |