I suggested a slug because it's likely you'll eventually have a
multiple-word title.
As for pass, the problem is that your route doesn't have an ID to pass:
Router::connect('/games/view/:title' ...
On Fri, Feb 13, 2009 at 4:00 PM, Miles J <[email protected]> wrote:
>
> Title basically is slug. But if i do the "pass" array, it should pass
> the variables (both of them) to the action.
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CakePHP" 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
-~----------~----~----~----~------~----~------~--~---