提交 869b0071 编写于 作者: A Aaron Patterson

the request object manages `env`

remove the setter.  The request object manages the env hash, so any
mutations need to go through it
上级 1f80f3a3
...@@ -116,8 +116,6 @@ def build_middleware(klass, args, block) ...@@ -116,8 +116,6 @@ def build_middleware(klass, args, block)
class Metal < AbstractController::Base class Metal < AbstractController::Base
abstract! abstract!
attr_internal_writer :env
def env def env
@_request.env @_request.env
end end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册