Permalink
Browse files

Merge pull request #4724 from kennyj/fix_warning_20120128

Fix warning. assigned but unused variable - path_params
  • Loading branch information...
2 parents 0341ca1 + 4c321c6 commit 25d5c94baf10ade91ce8fc09d38fb33a7da9de62 @tenderlove tenderlove committed Jan 27, 2012
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 25d5c94

Please sign in to comment.