No one willing to explain this one? On Feb 6, 11:12 am, McScreech <[email protected]> wrote: > OK, I get that. Then the core of my question is: > The condition in add function makes sense to me: > if ($this->request->is('post')) > > But why does the edit function use this: > if ($this->request->is('post') || $this->request->is('put')) > > and not this?: > if ($this->request->is('put')) > > McS. > > On Feb 1, 12:25 pm, Thiago Belem <[email protected]> wrote: > > > AFAIK, PUT is the POST HTTP Request version of "edit" action... when you > > send data that u want to change something (not insert) you send a PUT > > request. > > > ***Thiago Belem*
-- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php
