Last weekend I discovered something I was not aware that it works that way: that code defined after a redirect is executed. A simple example: class UsersController extends AppController { function beforeFilter() { // not logged in, so redirect to the login page $this->redirect(‘/login’); } function delete($id) { $this->User->delete($id); } } This example redirects _and_ […]
Blog has moved
This blog has moved to http://cakebaker.42dh.com. See you there.Contact
Feel free to contact me at daniel-hofstetter@gmx.ch. I like to hear from you :)
(see also the "About" section)