1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2025-07-17 17:08:37 +00:00
wallabag/src/Wallabag/CoreBundle/Controller/StaticController.php

29 lines
606 B
PHP
Raw Normal View History

2015-01-23 12:45:24 +01:00
<?php
namespace Wallabag\CoreBundle\Controller;
2015-01-23 12:45:24 +01:00
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
class StaticController extends Controller
{
/**
* @Route("/about", name="about")
*/
public function aboutAction()
{
return $this->render(
'WallabagCoreBundle:Static:about.html.twig',
2015-01-23 12:45:24 +01:00
array()
);
}
2015-02-02 12:54:14 +01:00
/**
* @Route("/", name="homepage")
*/
public function apiAction()
{
return $this->redirect($this->generateUrl('nelmio_api_doc_index'));
}
2015-01-23 12:45:24 +01:00
}