search for: departmentcontrol

Displaying 1 result from an estimated 1 matches for "departmentcontrol".

2006 Jan 16
3
routing to controller inside module
...render :text => ''Hello!'' end end end How does a route to all controllers under module Admin look like? map.connect ''admin/:controller/:action/:id'', :module => ''admin'' This one gives me a NameError ''uninitialized constant DepartmentController'' I tested following with the same result: map.connect ''admin/my_controller/:action/:id'', :controller => ''admin/my_controller'' Are controllers within modules still supported? Ciao, Norman -- Norman Timmler - inlet media e.K. Phone: +49 (0)40 /...