From 73293053b587dc68435d1648411d6228b3b55d25 Mon Sep 17 00:00:00 2001 From: Brian Jones Date: Wed, 17 May 2017 19:32:56 -0400 Subject: Document accessors response_body, action_name, formats [ci skip] --- actionpack/lib/abstract_controller/base.rb | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'actionpack') 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 -- cgit v1.2.3