Skip to content
This repository has been archived by the owner on May 30, 2019. It is now read-only.

Commit

Permalink
use stateless PluginType
Browse files Browse the repository at this point in the history
  • Loading branch information
xphere committed Jun 22, 2015
1 parent b21b6ba commit b0a717a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/Elcodi/Admin/PluginBundle/Controller/PluginController.php
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,10 @@ public function configureAction(

$form = $this
->createForm(
new PluginType($plugin),
$plugin->getFieldValues()
'elcodi_form_type_plugin',
$plugin->getFieldValues(), [
'plugin' => $plugin,
]
);

if ($request->isMethod(Request::METHOD_POST)) {
Expand Down

0 comments on commit b0a717a

Please sign in to comment.