Permalink
Browse files

Remove dead broken code from AD::Request

  • Loading branch information...
1 parent f84bf83 commit e2e9eabc58bf3fa26deef75bd90892c0db9d6ff6 @josevalim josevalim committed Dec 8, 2011
Showing with 0 additions and 8 deletions.
  1. +0 −8 actionpack/lib/action_dispatch/http/request.rb
@@ -35,14 +35,6 @@ def #{env.sub(/^HTTP_/n, '').downcase} # def accept_charset
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

0 comments on commit e2e9eab

Please sign in to comment.