Permalink
Browse files

Fix warning. assigned but unused variable - path_params

  • Loading branch information...
kennyj committed Jan 27, 2012
1 parent f22a0e2 commit 4c321c6d42b6e35f9ead12eb1dccdead03c5abf4
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionpack/test/dispatch/routing_test.rb
@@ -2550,7 +2550,7 @@ class TestUnicodePaths < ActionDispatch::IntegrationTest
Routes = ActionDispatch::Routing::RouteSet.new.tap do |app|
app.draw do
match "/#{Rack::Utils.escape("ほげ")}" => lambda { |env|
- path_params = env['action_dispatch.request.path_parameters']
+ env['action_dispatch.request.path_parameters']
[200, { 'Content-Type' => 'text/plain' }, []]
}, :as => :unicode_path
end

0 comments on commit 4c321c6

Please sign in to comment.