Isn't just a case of adding a parameter to the index action for the
homepage controller ie
function index($story = null) {
// If story is null then show default homepage, otherwise look up
story in DB
}
river_jetties wrote:
> I'd like for it to check a db table for whether there is a
> "here_is_story" before checking for the other Controllers (ie this
> should be the action for hte default route). What if there is a
> conflict in that namespace between a controller and the default action?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---