Removing additional call to camelize(). Fixes #913

This commit is contained in:
mark_story 2010-07-14 22:07:41 -04:00
parent 15435e9d6f
commit 21f359bff9

View file

@ -260,7 +260,7 @@ class FormHelper extends AppHelper {
0 => $id
);
if (!empty($options['action']) && !isset($options['id'])) {
$options['id'] = $this->domId(Inflector::camelize($options['action']) . 'Form');
$options['id'] = $this->domId($options['action'] . 'Form');
}
$options['action'] = array_merge($actionDefaults, (array)$options['url']);
} elseif (is_string($options['url'])) {