提交 54becd1a 编写于 作者: A Aaron Patterson

`headers` should delegate to the response object

上级 11ccdc8f
......@@ -150,7 +150,8 @@ def controller_name
# environment and response manually for performance reasons.
attr_internal :response, :request
delegate :session, :headers, :to => "@_request"
delegate :session, :to => "@_request"
delegate :headers, :to => "@_response"
def initialize
@_request = nil
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册