Hi eveyrone,
While reading AWDWR I saw that you could group your controllers. I
taught this would be practical for grouping all the administrative
functionnalities.
So I tried the following:
ruby script/generate controller Admin::Country
ruby script/generate model Country
This did not work for me. When requesting
localhost:3000/Admin/Countries/ I get:
--------------------------------------------
*Routing Error*
Recognition failed for "/admin/countries/"
--------------------------------------------
(I tried /Admin/Country/, /admin/countries, /admin/countries/list, etc...)
I script/destroyED everything and started over, this time with scaffold
ruby script/generate scaffold Admin::Country
And I got the same result...
Can anyone tell me what I''m doing wrong?
AWDWR makes it sound like you just generate Admin::something and
eveyrthing should work.