提交 73293053 编写于 作者: B Brian Jones

Document accessors response_body, action_name, formats [ci skip]

上级 385d9af2
......@@ -14,8 +14,16 @@ class ActionNotFound < StandardError
# 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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册