Thanks..getting warmer. however why does it put it as a named param in
url?
if I do:
Router::connectNamed(array('project_name'));
Router::connect('/projects/:project_name/:action/*',
array('controller' => 'projects'), array('project_name' => '[-_a-zA-Z]
+'));
in view:
echo $html->url(array('pro
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 s
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
--~--~-~--~~---