@@ -10,7 +10,6 @@ |
||
| 10 | 10 | use AppBundle\Form\DistrictType; |
| 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 | /** |
@@ -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 | |