RE: Routes regarding -> e-book by Matt Curry

2009-05-15 Thread Dave Maharaj :: WidePixels.com
Sweet deal! Thanks man! Great job on the book lots of great tips and tricks indeed. Thanks for sharing your insight. Dave -Original Message- From: Matt Curry [mailto:m...@mcurry.net] Sent: May-15-09 1:57 PM To: CakePHP Subject: Re: Routes regarding -> e-book by Matt Curry Hey D

Re: Routes regarding -> e-book by Matt Curry

2009-05-15 Thread Matt Curry
Hey Dave, Great question. Something I will definitely add to the next version. Try: Router::connect('/:prefix/:controller/add', array('action' => 'edit')); -Matt http://www.pseudocoder.com On May 14, 6:57 pm, "Dave Maharaj :: WidePixels.com" wrote: > In the section regarding the add / edit f

Re: Routes regarding -> e-book by Matt Curry

2009-05-15 Thread j0n4s.h4rtm...@googlemail.com
I didn't work with it yet but afaik 'prefix' => 'admin' On May 15, 12:57 am, "Dave Maharaj :: WidePixels.com" wrote: > In the section regarding the add / edit functions in 1 he has the routes > Router::connect('/:controller/add', array('action' => 'edit')); > > How would you configure this for t

Routes regarding -> e-book by Matt Curry

2009-05-14 Thread Dave Maharaj :: WidePixels.com
In the section regarding the add / edit functions in 1 he has the routes Router::connect('/:controller/add', array('action' => 'edit')); How would you configure this for the admin routing? I tried Router::connect('/:controller/add', array('action' => 'edit')); or Router::connect('/:controlle