@@ -10,7 +10,6 @@ |
||
| 10 | 10 | use AppBundle\Form\EstateType; |
| 11 | 11 | use Symfony\Component\Form\Extension\Core\Type\SubmitType; |
| 12 | 12 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\ParamConverter; |
| 13 | -use Symfony\Component\HttpFoundation\Response; |
|
| 14 | 13 | |
| 15 | 14 | |
| 16 | 15 | /** |
@@ -122,7 +122,6 @@ |
||
| 122 | 122 | * @Route("/estate/delete/{slug}", name="admin_estate_delete") |
| 123 | 123 | * @Method("DELETE") |
| 124 | 124 | * @ParamConverter("estate", options={"mapping": {"slug": "slug"}}) |
| 125 | - |
|
| 126 | 125 | */ |
| 127 | 126 | public function estateDeleteAction(Request $request, Estate $estate) |
| 128 | 127 | { |
@@ -25,7 +25,7 @@ |
||
| 25 | 25 | { |
| 26 | 26 | // replace this example code with whatever you need |
| 27 | 27 | return $this->render('AppBundle::admin/index.html.twig', array( |
| 28 | - 'base_dir' => realpath($this->getParameter('kernel.root_dir') . '/..'), |
|
| 28 | + 'base_dir' => realpath($this->getParameter('kernel.root_dir').'/..'), |
|
| 29 | 29 | )); |
| 30 | 30 | } |
| 31 | 31 | |
@@ -10,7 +10,6 @@ |
||
| 10 | 10 | use AppBundle\Form\EstateType; |
| 11 | 11 | use Symfony\Component\Form\Extension\Core\Type\SubmitType; |
| 12 | 12 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\ParamConverter; |
| 13 | -use Symfony\Component\HttpFoundation\Response; |
|
| 14 | 13 | |
| 15 | 14 | |
| 16 | 15 | /** |
@@ -6,9 +6,7 @@ |
||
| 6 | 6 | use Symfony\Bundle\FrameworkBundle\Controller\Controller; |
| 7 | 7 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method; |
| 8 | 8 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; |
| 9 | -use Symfony\Component\Form\Extension\Core\Type\SubmitType; |
|
| 10 | 9 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\Security; |
| 11 | -use Symfony\Component\HttpFoundation\Response; |
|
| 12 | 10 | |
| 13 | 11 | |
| 14 | 12 | /** |
@@ -62,7 +62,7 @@ |
||
| 62 | 62 | $request->query->getInt('page', 1), |
| 63 | 63 | 10 |
| 64 | 64 | ); |
| 65 | - return $this->render('@App/admin/user/estates_manager.html.twig', array('pagination' => $pagination)); } |
|
| 65 | + return $this->render('@App/admin/user/estates_manager.html.twig', array('pagination' => $pagination)); } |
|
| 66 | 66 | |
| 67 | 67 | /** |
| 68 | 68 | * @Route("/users/lock_user/{username}", name="lock_user") |
@@ -10,7 +10,6 @@ |
||
| 10 | 10 | use AppBundle\Form\EstateType; |
| 11 | 11 | use Symfony\Component\Form\Extension\Core\Type\SubmitType; |
| 12 | 12 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\ParamConverter; |
| 13 | -use Symfony\Component\HttpFoundation\Response; |
|
| 14 | 13 | |
| 15 | 14 | |
| 16 | 15 | /** |