diff options
author | Mindaugas Mozūras <mindaugas.mozuras@gmail.com> | 2014-06-15 22:01:34 +0300 |
---|---|---|
committer | Mindaugas Mozūras <mindaugas.mozuras@gmail.com> | 2014-06-15 22:01:34 +0300 |
commit | aaa7b6bf2c17d382abc3778ad6faac559bbe0490 (patch) | |
tree | c2c8ef2b7ae3e0346508267174a59c31268f0a0d | |
parent | 3268a04e991994e37515873339e120deba1ce144 (diff) | |
download | rails-aaa7b6bf2c17d382abc3778ad6faac559bbe0490.tar.gz rails-aaa7b6bf2c17d382abc3778ad6faac559bbe0490.tar.bz2 rails-aaa7b6bf2c17d382abc3778ad6faac559bbe0490.zip |
Remove unused param 'separators' from RouteSet#build_path
-rw-r--r-- | actionpack/lib/action_dispatch/routing/route_set.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/lib/action_dispatch/routing/route_set.rb b/actionpack/lib/action_dispatch/routing/route_set.rb index bdda802195..69535faabd 100644 --- a/actionpack/lib/action_dispatch/routing/route_set.rb +++ b/actionpack/lib/action_dispatch/routing/route_set.rb @@ -420,7 +420,7 @@ module ActionDispatch path = conditions.delete :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 }) route = @set.add_route(app, path, conditions, defaults, name) @@ -428,7 +428,7 @@ module ActionDispatch route end - def build_path(path, ast, requirements, separators, anchor) + def build_path(path, ast, requirements, anchor) strexp = Journey::Router::Strexp.new( ast, path, |