Skip to content

Commit

Permalink
Fix warning by removing |map| from routes.draw
Browse files Browse the repository at this point in the history
  • Loading branch information
drogus committed Sep 8, 2010
1 parent 6258f7c commit 36fcb77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion railties/test/application/routing_test.rb
Expand Up @@ -203,7 +203,7 @@ def baz
assert_equal 'bar', last_response.body assert_equal 'bar', last_response.body


app_file 'config/routes.rb', <<-RUBY app_file 'config/routes.rb', <<-RUBY
AppTemplate::Application.routes.draw do |map| AppTemplate::Application.routes.draw do
match 'foo', :to => 'foo#baz' match 'foo', :to => 'foo#baz'
end end
RUBY RUBY
Expand Down

0 comments on commit 36fcb77

Please sign in to comment.