]> git.immae.eu Git - github/wallabag/wallabag.git/blame - src/Wallabag/CoreBundle/Controller/StaticController.php
Merge pull request #1294 from wallabag/v2-fix-1282
[github/wallabag/wallabag.git] / src / Wallabag / CoreBundle / Controller / StaticController.php
CommitLineData
163eae0b
NL
1<?php
2
ad4d1caa 3namespace Wallabag\CoreBundle\Controller;
163eae0b
NL
4
5use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
6use Symfony\Bundle\FrameworkBundle\Controller\Controller;
7
8class StaticController extends Controller
9{
10 /**
11 * @Route("/about", name="about")
12 */
13 public function aboutAction()
14 {
15 return $this->render(
ad4d1caa 16 'WallabagCoreBundle:Static:about.html.twig',
163eae0b
NL
17 array()
18 );
19 }
88924980 20
88924980
NL
21 /**
22 * @Route("/", name="homepage")
23 */
24 public function apiAction()
25 {
26 return $this->redirect($this->generateUrl('nelmio_api_doc_index'));
27 }
163eae0b 28}