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
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
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
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