1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Merge pull request #34595 from albertoalmagro/remove-unnecessary-variable

Remove unnecessary variable route
This commit is contained in:
Ryuta Kamizono 2018-12-03 05:01:28 +09:00 committed by GitHub
commit 01d3899695
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -160,17 +160,8 @@ module ActionDispatch
end
def make_route(name, precedence)
route = Journey::Route.new(name,
application,
path,
conditions,
required_defaults,
defaults,
request_method,
precedence,
@internal)
route
Journey::Route.new(name, application, path, conditions, required_defaults,
defaults, request_method, precedence, @internal)
end
def application