Router::connectNamed(array('project_name'));
Router::connect('/project/:project_name/*');
That's a start
On Nov 30, 1:27 pm, chad <[EMAIL PROTECTED]> wrote:
> How could I achieve routing like so: /project/{project_name}/{action}/
> * without any hacks in the controller? I have it working with some
> hacks in the controller but would rather make it more dynamic in the
> future and figured Router might help with that.
>
> Thanks
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---