Re: Prefix routing problem

2010-05-30 Thread cronet
no, i use the authsome component from debuggable... On 28 Mai, 10:18, Bogdan Bursuc wrote: > Do you use the Auth component ? > > > > On Fri, May 28, 2010 at 9:07 AM, cronet wrote: > > hm... > > >  i solved my problem with the following route configuration: > > > Router::connect('/aktivieren/*',

Re: Prefix routing problem

2010-05-28 Thread Bogdan Bursuc
Do you use the Auth component ? On Fri, May 28, 2010 at 9:07 AM, cronet wrote: > hm... > > i solved my problem with the following route configuration: > > Router::connect('/aktivieren/*', array('controller' => 'users', > 'action' => 'activate', 'admin'=>null)); > > > > I don't know why cake beh

Re: Prefix routing problem

2010-05-27 Thread cronet
hm... i solved my problem with the following route configuration: Router::connect('/aktivieren/*', array('controller' => 'users', 'action' => 'activate', 'admin'=>null)); I don't know why cake behave this way, because in the manual there's a note to user admin=>false, not admin=>null in the h

Re: Prefix routing problem

2010-05-27 Thread cronet
that does not solve the problem... Router::connect('/aktivieren', array('controller' => 'users', 'action' => 'activate', 'admin'=>false, 'prefix'=>false )); Router::connect('/aktivieren/', array('controller' => 'users', 'action' => 'activate', 'admin'=>false, 'prefix'=>false )); Router::connect('/

Re: Prefix routing problem

2010-05-27 Thread Bogdan Bursuc
You need to define the master route, also: Router::connect('/aktivieren/', ...); That's the router you access when you enter /aktivieren. On Fri, May 28, 2010 at 2:05 AM, cronet wrote: > Hey, > > i defined the following route: > >Router::connect('/aktivieren/*', array('controller' => 'u

Prefix routing problem

2010-05-27 Thread cronet
Hey, i defined the following route: Router::connect('/aktivieren/*', array('controller' => 'users', 'action' => 'activate', 'admin'=>false)); But everytime when I try to access /aktivieren cake routes me to admin_activatie... Here ar some vars from pr($this) [action] => admin_activ