Re: Question about Routing (domain.com/{cityname}/controller/action)

2010-05-26 Thread Bennet Jeutter
Works perfect, thanks :) On 25 Mai, 14:25, emanuele wrote: > Router::connect('/:alias/:controller/:action/*', >         array(), >         array( >             'persist' => array('alias'), >             )); > > On Tue, May 25, 2010 at 10:32 AM, Bennet Jeutter > wrote: > > > > > Hallo everyone, >

Re: Question about Routing (domain.com/{cityname}/controller/action)

2010-05-25 Thread emanuele
Router::connect('/:alias/:controller/:action/*', array(), array( 'persist' => array('alias'), )); On Tue, May 25, 2010 at 10:32 AM, Bennet Jeutter wrote: > Hallo everyone, > > I got a question about routing: > I'm developing a project, which is based on ci

Question about Routing (domain.com/{cityname}/controller/action)

2010-05-25 Thread Bennet Jeutter
Hallo everyone, I got a question about routing: I'm developing a project, which is based on cities. So i want to have URLs like domain.com/{cityname}/controller/action. Example: domain.com/frankfurt/people/view/3 The Controller and Actions should be for alle Cities the same, I would catche the ci