diff options
author | José Valim <jose.valim@gmail.com> | 2011-12-08 09:20:59 +0100 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2011-12-08 09:30:27 +0100 |
commit | e2e9eabc58bf3fa26deef75bd90892c0db9d6ff6 (patch) | |
tree | bea64c7099e921e8800c7e94618c85b75ae94fac /actionpack/lib/action_dispatch/http | |
parent | f84bf83b9b5b0f0ff692729873d3de835d7de377 (diff) | |
download | rails-e2e9eabc58bf3fa26deef75bd90892c0db9d6ff6.tar.gz rails-e2e9eabc58bf3fa26deef75bd90892c0db9d6ff6.tar.bz2 rails-e2e9eabc58bf3fa26deef75bd90892c0db9d6ff6.zip |
Remove dead broken code from AD::Request
Diffstat (limited to 'actionpack/lib/action_dispatch/http')
-rw-r--r-- | actionpack/lib/action_dispatch/http/request.rb | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/actionpack/lib/action_dispatch/http/request.rb b/actionpack/lib/action_dispatch/http/request.rb index e86dfd64d2..c5c48ec489 100644 --- a/actionpack/lib/action_dispatch/http/request.rb +++ b/actionpack/lib/action_dispatch/http/request.rb @@ -35,14 +35,6 @@ module ActionDispatch METHOD end - def self.new(env) - if request = env["action_dispatch.request"] && request.instance_of?(self) - return request - end - - super - end - def key?(key) @env.key?(key) end |