If you do not need $cat in controller:
Router::connect(
'/(categories|kategorie)/*',
array('controller' => 'categories', 'action' => 'view')
);
On Oct 29, 5:23 am, kicaj wrote:
> Why doesn't work: Router::connect('/:cat/*', array('controller' =>
> 'categories', 'action' => 'view'), array
What are you trying to route to?
Router::connect('/:cat/*', array('controller' =>'categories', 'action'
=> 'view'), array('cat' => 'categories|kategorie'));
On Oct 28, 4:23 pm, kicaj wrote:
> Why doesn't work: Router::connect('/:cat/*', array('controller' =>
> 'categories', 'action' => 'view'),
Why doesn't work: Router::connect('/:cat/*', array('controller' =>
'categories', 'action' => 'view'), array('cat' => '[categories|
kategorie]')); ?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To p