mirror of https://github.com/rails/rails
parent
e2ae787b36
commit
c6c1642383
|
@ -729,17 +729,6 @@ module ActionDispatch
|
|||
|
||||
raise ActionController::RoutingError, "No route matches #{path.inspect}"
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
def extract_authentication(options)
|
||||
if options[:user] && options[:password]
|
||||
[options.delete(:user), options.delete(:password)]
|
||||
else
|
||||
nil
|
||||
end
|
||||
end
|
||||
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue