mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Remove unused param 'separators' from RouteSet#build_path
This commit is contained in:
parent
3268a04e99
commit
aaa7b6bf2c
1 changed files with 2 additions and 2 deletions
|
@ -420,7 +420,7 @@ module ActionDispatch
|
||||||
|
|
||||||
path = conditions.delete :path_info
|
path = conditions.delete :path_info
|
||||||
ast = conditions.delete :parsed_path_info
|
ast = conditions.delete :parsed_path_info
|
||||||
path = build_path(path, ast, requirements, SEPARATORS, anchor)
|
path = build_path(path, ast, requirements, anchor)
|
||||||
conditions = build_conditions(conditions, path.names.map { |x| x.to_sym })
|
conditions = build_conditions(conditions, path.names.map { |x| x.to_sym })
|
||||||
|
|
||||||
route = @set.add_route(app, path, conditions, defaults, name)
|
route = @set.add_route(app, path, conditions, defaults, name)
|
||||||
|
@ -428,7 +428,7 @@ module ActionDispatch
|
||||||
route
|
route
|
||||||
end
|
end
|
||||||
|
|
||||||
def build_path(path, ast, requirements, separators, anchor)
|
def build_path(path, ast, requirements, anchor)
|
||||||
strexp = Journey::Router::Strexp.new(
|
strexp = Journey::Router::Strexp.new(
|
||||||
ast,
|
ast,
|
||||||
path,
|
path,
|
||||||
|
|
Loading…
Reference in a new issue