src/Controller/Content/App/AboutUsController.php line 27

Open in your IDE?
  1. <?php
  2. namespace App\Controller\Content\App;
  3. use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
  4. use Sensio\Bundle\FrameworkExtraBundle\Configuration as Ctrl;
  5. use Symfony\Component\HttpFoundation\Response;
  6. use Symfony\Component\Routing\Annotation\Route;
  7. /**
  8. * Class AboutUsController
  9. *
  10. * @package App\Controller\Content\App
  11. *
  12. * @Route("/{_locale}/about", requirements={"_locale": "\w{2}"})
  13. */
  14. class AboutUsController extends AbstractController
  15. {
  16. /**
  17. * @Route("/", name="mdl_public_about_index")
  18. *
  19. * @Ctrl\Cache(expires="+2 days", public=true)
  20. *
  21. * @return Response
  22. */
  23. public function indexAction(): Response {
  24. return $this->render('Content/Public/About/index.html.twig');
  25. }
  26. }