Permalink
Browse files

nested controllers need to be explicitly declared with the new mapper

  • Loading branch information...
josh committed Mar 1, 2010
1 parent 2ce3085 commit 82deaf5f052caf0a906ed0e83c6efd00c057b5ba
Showing with 2 additions and 1 deletion.
  1. +2 −1 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.