Tweak how method is passed in form builder.

This commit is contained in:
Taylor Otwell committed 2013-05-14 19:56:27 -05:00
1 parent 524f0e9c9b
commit a824102a1f
1 file changed
+1 -1
+1 -1
View File
@@ -106,7 +106,7 @@ class FormBuilder {
// If the method is PUT, PATCH or DELETE we will need to add a spoofer hidden
// field that will instruct the Symfony request to pretend the method is a
// different method than it actually is, for convenience from the forms.
$append = $this->getAppendage($method);
$append = $this->getAppendage($attributes['method']);
if (isset($options['files']) and $options['files'])
{