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