@@ -9,13 +9,10 @@ |
||
| 9 | 9 | namespace AppBundle\Controller; |
| 10 | 10 | |
| 11 | 11 | |
| 12 | -use AppBundle\MenuItem\RecursiveMenuItemIterator; |
|
| 13 | -use Doctrine\Common\Collections\ArrayCollection; |
|
| 14 | 12 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; |
| 15 | 13 | use Symfony\Bundle\FrameworkBundle\Controller\Controller; |
| 16 | 14 | use Symfony\Component\HttpFoundation\Request; |
| 17 | 15 | use Symfony\Component\HttpFoundation\Response; |
| 18 | -use AppBundle\Entity\Cat as CategoryEntity; |
|
| 19 | 16 | |
| 20 | 17 | class SiteController extends Controller |
| 21 | 18 | { |
@@ -10,7 +10,6 @@ |
||
| 10 | 10 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method; |
| 11 | 11 | use AppBundle\Form\EstateType; |
| 12 | 12 | use Symfony\Component\Form\Extension\Core\Type\SubmitType; |
| 13 | -use Gedmo\Uploadable\FileInfo\FileInfoArray; |
|
| 14 | 13 | |
| 15 | 14 | |
| 16 | 15 | /** |
@@ -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 | |