@@ -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 | |
@@ -3,15 +3,12 @@ |
||
| 3 | 3 | namespace AppBundle\Controller; |
| 4 | 4 | |
| 5 | 5 | use AppBundle\Entity\Estate; |
| 6 | -use AppBundle\Entity\File; |
|
| 7 | 6 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; |
| 8 | 7 | use Symfony\Bundle\FrameworkBundle\Controller\Controller; |
| 9 | 8 | use Symfony\Component\HttpFoundation\Request; |
| 10 | 9 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method; |
| 11 | 10 | use AppBundle\Form\EstateType; |
| 12 | 11 | use Symfony\Component\Form\Extension\Core\Type\SubmitType; |
| 13 | -use Sensio\Bundle\FrameworkExtraBundle\Configuration\ParamConverter; |
|
| 14 | -use Symfony\Component\HttpFoundation\Response; |
|
| 15 | 12 | |
| 16 | 13 | |
| 17 | 14 | /** |