Skip to content

Commit

Permalink
Merge pull request #916 from sandergo90/fix#form-createBuilder-2.7
Browse files Browse the repository at this point in the history
[AdminBundle]: symfony 2.7 syntax
  • Loading branch information
jockri committed Jan 20, 2016
2 parents 6042768 + d55cdd0 commit b1a4562
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ public function __construct($identifier, Request $request, FormFactoryInterface
*/
public function buildForm()
{
$builder = $this->formFactory->createBuilder(FormType::class, null);
$builder = $this->formFactory->createBuilder('form', null);

foreach ($this->tabs as $tab) {
$tab->buildForm($builder);
Expand Down

0 comments on commit b1a4562

Please sign in to comment.