Remove dead broken code from AD::Request
This commit is contained in:
parent
f84bf83b9b
commit
e2e9eabc58
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user