nested controllers need to be explicitly declared with the new mapper

This commit is contained in:
Joshua Peek 2010-02-28 18:43:20 -06:00
parent 2ce3085e3c
commit 82deaf5f05

@ -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