<?php
/**
* Created by simpson <simpsonwork@gmail.com>
* Date: 2019-04-05
* Time: 15:26
*/
namespace App\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\Routing\Annotation\Route;
class StaticPageController extends AbstractController
{
#[Route("/about/", name: "static_page.about", options: ["sitemap" => ["priority" => 0.2]])]
public function about(): Response
{
return $this->render('static/about.html.twig');
}
#[Route(path: '/license/', name: 'static_page.license', options: ['sitemap' => ['priority' => '0.2']])]
public function license(): Response
{
return $this->render('static/license.html.twig');
}
}