diff options
author | Joshua Peek <josh@joshpeek.com> | 2010-02-28 18:43:20 -0600 |
---|---|---|
committer | Joshua Peek <josh@joshpeek.com> | 2010-02-28 18:43:20 -0600 |
commit | 82deaf5f052caf0a906ed0e83c6efd00c057b5ba (patch) | |
tree | 39947f90469b09782e1cda833d023ac0aee34672 /railties | |
parent | 2ce3085e3ceabe688b30f55373b21278c4dca416 (diff) | |
download | rails-82deaf5f052caf0a906ed0e83c6efd00c057b5ba.tar.gz rails-82deaf5f052caf0a906ed0e83c6efd00c057b5ba.tar.bz2 rails-82deaf5f052caf0a906ed0e83c6efd00c057b5ba.zip |
nested controllers need to be explicitly declared with the new mapper
Diffstat (limited to 'railties')
-rw-r--r-- | railties/test/application/routing_test.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/railties/test/application/routing_test.rb b/railties/test/application/routing_test.rb index b93e349a46..dcac1a87d9 100644 --- a/railties/test/application/routing_test.rb +++ b/railties/test/application/routing_test.rb @@ -120,7 +120,8 @@ module ApplicationTests app_file 'config/routes.rb', <<-RUBY AppTemplate::Application.routes.draw do |map| - match ':controller(/:action)' + match 'admin/foo', :to => 'admin/foo#index' + match 'foo', :to => 'foo#index' end RUBY |