nested controllers need to be explicitly declared with the new mapper
This commit is contained in:
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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user