diff options
Diffstat (limited to 'src/AppBundle/Controller/DefaultController.php')
-rw-r--r-- | src/AppBundle/Controller/DefaultController.php | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/src/AppBundle/Controller/DefaultController.php b/src/AppBundle/Controller/DefaultController.php deleted file mode 100644 index cecd334..0000000 --- a/src/AppBundle/Controller/DefaultController.php +++ /dev/null @@ -1,21 +0,0 @@ -<?php - -namespace AppBundle\Controller; - -use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; -use Symfony\Bundle\FrameworkBundle\Controller\Controller; -use Symfony\Component\HttpFoundation\Request; - -class DefaultController extends Controller -{ - /** - * @Route("/", name="homepage") - */ - public function indexAction(Request $request) - { - // replace this example code with whatever you need - return $this->render('default/index.html.twig', [ - 'base_dir' => realpath($this->getParameter('kernel.project_dir')).DIRECTORY_SEPARATOR, - ]); - } -} |