You could simply make the following controllers:
NewsController
StoriesController
AlertsController
SectionsController
PollController
QuestionsController
AnswersController
And then configure your controller routes in /app/config/routes.php:
Router::connect('/news/stories/:action/*', array('controller' =>
'stories'));
Router::connect('/news/alerts/:action/*', array('controller' =>
'alerts'));
Router::connect('/news/sections/:action/*', array('controller' =>
'sections'));
Router::connect('/poll/questions/:action/*', array('controller' =>
'questions'));
Router::connect('/poll/answers/:action/*', array('controller' =>
'answers'));
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---