Hello

Is there a way to create a generic crud controller shared by some
models? But there's a catch: I don't know before hand what the models
will be.

What I would like to have is something like this:

/news => dispatch to generic_controller.php
/news/edit/1 => dispatch to generic_controller.php, action edit
etc...

By default, cake searches for a file named news_controller.php, but I
want to change that to generic_controller.php

Is that possible?


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to