Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Remove dead broken code from AD::Request

  • Loading branch information...
commit e2e9eabc58bf3fa26deef75bd90892c0db9d6ff6 1 parent f84bf83
José Valim josevalim authored
Showing with 0 additions and 8 deletions.
  1. +0 −8 actionpack/lib/action_dispatch/http/request.rb
8 actionpack/lib/action_dispatch/http/request.rb
View
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.