This commit is contained in:
Alexey Skobkin 2017-01-08 22:57:52 +03:00
parent db3c9a0bd2
commit 9f53628373
2 changed files with 1 additions and 9 deletions

View file

@ -19,7 +19,7 @@ class MainController extends Controller
$em = $this->getDoctrine()->getManager(); $em = $this->getDoctrine()->getManager();
$form = $this->createForm( $form = $this->createForm(
new UserSearchType(), UserSearchType::class,
null, null,
[ [
'action' => $this->generateUrl('index'), 'action' => $this->generateUrl('index'),

View file

@ -17,12 +17,4 @@ class UserSearchType extends AbstractType
->add('login') ->add('login')
; ;
} }
/**
* @return string
*/
public function getName()
{
return 'skobkin_bundle_pointtoolsbundle_user_search';
}
} }