Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix warning. assigned but unused variable - path_params #4724

Merged
merged 1 commit into from Jan 27, 2012

Conversation

kennyj
Copy link
Contributor

@kennyj kennyj commented Jan 27, 2012

No description provided.

tenderlove added a commit that referenced this pull request Jan 27, 2012
Fix warning. assigned but unused variable - path_params
@tenderlove tenderlove merged commit 25d5c94 into rails:master Jan 27, 2012
@@ -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']
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is not the whole line useless or am I missing something?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

seems useless to me too.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please merge #4730

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants