diff options
Diffstat (limited to 'src/WallabagBundle/Controller/DefaultController.php')
-rw-r--r-- | src/WallabagBundle/Controller/DefaultController.php | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/WallabagBundle/Controller/DefaultController.php b/src/WallabagBundle/Controller/DefaultController.php new file mode 100644 index 00000000..1030b7a6 --- /dev/null +++ b/src/WallabagBundle/Controller/DefaultController.php | |||
@@ -0,0 +1,17 @@ | |||
1 | <?php | ||
2 | |||
3 | namespace WallabagBundle\Controller; | ||
4 | |||
5 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; | ||
6 | use Symfony\Bundle\FrameworkBundle\Controller\Controller; | ||
7 | |||
8 | class DefaultController extends Controller | ||
9 | { | ||
10 | /** | ||
11 | * @Route("/app/index", name="homepage") | ||
12 | */ | ||
13 | public function indexAction() | ||
14 | { | ||
15 | return $this->render('default/index.html.twig'); | ||
16 | } | ||
17 | } | ||