I am trying to use the Security component in order to avoid CSRF attacks and if i use the formHelper to create the ticket just using a postLink, like this, it fails:
<?php echo $this->Form->postLink(__('Delete'), array('action' => 'delete', $user['User']['id']), array('class' => 'button mini'), __('Are you sure?', $user['User']['id'])); ?>
I am not sure if this is possible or CakePHP just allow this feature using the create() and end() methods of formHelper.
CakePHP documentation only says that is is compulsory to use the formHelper but it doesn't specify much more.