blogbysid.wordpress.com
Confirm before Deleting post in CakePHP
In the controller, create a delete function: