diff --git a/Controller/CrudController.php b/Controller/CrudController.php index b673f69..cbab55c 100644 --- a/Controller/CrudController.php +++ b/Controller/CrudController.php @@ -276,8 +276,7 @@ protected function doIndex() Query::HINT_CUSTOM_OUTPUT_WALKER, 'Gedmo\Translatable\Query\TreeWalker\TranslationWalker' ) - // ->getResult() - ; + ->getResult(); return $this->renderIndex($query); } @@ -477,8 +476,8 @@ protected function addSuccessFlash($message, $route = null) 'heading' => 'Success!', 'message' => $this->getTranslator()->trans($message, array('%entity%' => $this->getEntityName())), 'actions' => $actions + ) ) - ) ); } @@ -497,16 +496,12 @@ protected function handleSuccessResponse($action, $entity = null) * * @param object $entity entity */ - protected function prePersist($entity, $action) - { - } + protected function prePersist($entity, $action) {} /** * Post flush entity * * @param object $entity entity */ - protected function postFlush($entity, $action) - { - } + protected function postFlush($entity, $action) {} } diff --git a/Resources/views/base.list.html.twig b/Resources/views/base.list.html.twig index c66a425..db705d6 100644 --- a/Resources/views/base.list.html.twig +++ b/Resources/views/base.list.html.twig @@ -17,14 +17,14 @@