]> git.immae.eu Git - github/wallabag/wallabag.git/blame - src/Wallabag/CoreBundle/Controller/StaticController.php
Merge pull request #1369 from wallabag/v2-bottombar
[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{
b7dd5f82
NL
10 /**
11 * @Route("/howto", name="howto")
12 */
13 public function howtoAction()
14 {
15 return $this->render(
16 'WallabagCoreBundle:Static:howto.html.twig',
17 array()
18 );
19 }
163eae0b
NL
20 /**
21 * @Route("/about", name="about")
22 */
23 public function aboutAction()
24 {
25 return $this->render(
ad4d1caa 26 'WallabagCoreBundle:Static:about.html.twig',
163eae0b
NL
27 array()
28 );
29 }
88924980 30
88924980
NL
31 /**
32 * @Route("/", name="homepage")
33 */
34 public function apiAction()
35 {
36 return $this->redirect($this->generateUrl('nelmio_api_doc_index'));
37 }
163eae0b 38}