diff options
author | deepj <deepjungle.maca@gmail.com> | 2015-08-23 15:04:14 +0200 |
---|---|---|
committer | deepj <deepjungle.maca@gmail.com> | 2015-08-23 16:06:29 +0200 |
commit | dbfab58457c4a2c958718b8f67491965d879c69a (patch) | |
tree | e25ec2f3e53f6f81e707277ab6331979700fffe7 /actionpack/lib/action_dispatch | |
parent | 3cbaeb16013ef488a9619dd00dd00fe49bb6994d (diff) | |
download | rails-dbfab58457c4a2c958718b8f67491965d879c69a.tar.gz rails-dbfab58457c4a2c958718b8f67491965d879c69a.tar.bz2 rails-dbfab58457c4a2c958718b8f67491965d879c69a.zip |
Remove unused block arguments
Diffstat (limited to 'actionpack/lib/action_dispatch')
-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 af6f0de556..2e8c346758 100644 --- a/actionpack/lib/action_dispatch/routing/route_set.rb +++ b/actionpack/lib/action_dispatch/routing/route_set.rb @@ -171,9 +171,9 @@ module ActionDispatch private def optimized_helper(args) - params = parameterize_args(args) { |k| + params = parameterize_args(args) do raise_generation_error(args) - } + end @route.format params end |