Disabling REST-compliant hidden field temporarily

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4399 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
nate 2007-02-02 03:42:00 +00:00
parent 9c4766f3bb
commit 5a8cc752f1

View file

@ -131,7 +131,7 @@ class FormHelper extends AppHelper {
case 'post':
case 'put':
case 'delete':
$append .= $this->hidden('_method', array('value' => up($options['type']), 'id' => $options['id'] . 'Method'));
//$append .= $this->hidden('_method', array('value' => up($options['type']), 'id' => $options['id'] . 'Method'));
default:
$htmlAttributes['method'] = 'post';
break;