Skip to content
Browse files

nested controllers need to be explicitly declared with the new mapper

  • Loading branch information...
1 parent 2ce3085 commit 82deaf5f052caf0a906ed0e83c6efd00c057b5ba @josh josh committed Feb 28, 2010
Showing with 2 additions and 1 deletion.
  1. +2 −1 railties/test/application/routing_test.rb
View
3 railties/test/application/routing_test.rb
@@ -120,7 +120,8 @@ def index
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

0 comments on commit 82deaf5

Please sign in to comment.
Something went wrong with that request. Please try again.