]>
Commit | Line | Data |
---|---|---|
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("/howto", name="howto") | |
12 | */ | |
13 | public function howtoAction() | |
14 | { | |
15 | return $this->render( | |
16 | 'WallabagCoreBundle:Static:howto.html.twig', | |
17 | array() | |
18 | ); | |
19 | } | |
20 | ||
21 | /** | |
22 | * @Route("/about", name="about") | |
23 | */ | |
24 | public function aboutAction() | |
25 | { | |
26 | return $this->render( | |
27 | 'WallabagCoreBundle:Static:about.html.twig', | |
28 | array() | |
29 | ); | |
30 | } | |
31 | } |