Re: Doubt regarding routing.

2013-06-11 Thread Nikunj Amipara
lready it seems to work too but only at some places...i want > photo/:action to be blocked completely > > > On Mon, Jun 10, 2013 at 7:13 PM, Gaurav Matta wrote: > >> In routes.php >> >> On 10-Jun-2013 6:17 PM, "Nikunj Amipara" wrote: >> > >>

Re: Doubt regarding routing.

2013-06-10 Thread Gaurav Matta
mipara" wrote: > > > > hi all, > > > > i have doubt regarding routing... > > i want to replace > > > > url : /photo/* with /image/* everywhere basically i want name > of controller to be replaced.. in addition /photo url should no

Re: Doubt regarding routing.

2013-06-10 Thread Nikunj Amipara
i did that already it seems to work too but only at some places...i want photo/:action to be blocked completely On Mon, Jun 10, 2013 at 7:13 PM, Gaurav Matta wrote: > In routes.php > > On 10-Jun-2013 6:17 PM, "Nikunj Amipara" wrote: > > > > hi all, > >

Re: Doubt regarding routing.

2013-06-10 Thread Gaurav Matta
In routes.php On 10-Jun-2013 6:17 PM, "Nikunj Amipara" wrote: > > hi all, > > i have doubt regarding routing... > i want to replace > > url : /photo/* with /image/* everywhere basically i want name of controller to be replaced.. in addition /photo u

Re: Doubt regarding routing.

2013-06-10 Thread Gaurav Matta
Try Router::connect('/image/:action',array('controller'=>'photo')) On 10-Jun-2013 6:17 PM, "Nikunj Amipara" wrote: > > hi all, > > i have doubt regarding routing... > i want to replace > > url : /photo/* with /image/* eve

Doubt regarding routing.

2013-06-10 Thread Nikunj Amipara
hi all, i have doubt regarding routing... i want to replace url : /photo/* with /image/* everywhere basically i want name of controller to be replaced.. in addition /photo url should no longer work. or it should be renamed and redirected to /image/* is it possible... if yes