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:
commit
01d3899695
1 changed files with 2 additions and 11 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue