]> Raphaƫl G. Git Repositories - blogbundle/blob - Controller/PageController.php
Add repository classes
[blogbundle] / Controller / PageController.php
1 <?php
2
3 namespace Rapsys\BlogBundle\Controller;
4
5 use Symfony\Bundle\FrameworkBundle\Controller\Controller;
6
7 class PageController extends Controller {
8 /**
9 * Localized homepage
10 */
11 public function indexAction() {
12 return $this->render('RapsysBlogBundle::index.html.twig');
13 }
14
15 /**
16 * Legal informations
17 */
18 public function aboutAction() {
19 return $this->render('RapsysBlogBundle::about.html.twig');
20 }
21
22 /**
23 * Contact form
24 */
25 public function contactAction() {
26 return $this->render('RapsysBlogBundle::contact.html.twig');
27 }
28 }