Displaying 1 result from an estimated 1 matches for "provider_controller".
Did you mean:
providers_controller
2006 May 25
7
Grouping controllers
...cluttering the top-level namespace.
First, I used script/generate Admin::Customers new edit show list and then I
used
script/generate Admin::Providers new edit show list.
The generator created the subfolders correctly: I have an admin folder and
inside there''s customer_controller.rb and provider_controller.rb.
I have the same structure in views. BUT when I go to
http://localhost:3004/admin/customer/list I get an Unknown Action error. I''m
positive that the action is declared in the respective controller. Am I
missing something?
I read about this on the Agile Web Development with Rails book...