mirror of
https://github.com/YGGverse/YGGtracker.git
synced 2026-04-01 01:25:39 +00:00
init symfony framework #14
This commit is contained in:
parent
3c233fcfad
commit
380377b27c
114 changed files with 11525 additions and 10998 deletions
67
src/Controller/PageController.php
Normal file
67
src/Controller/PageController.php
Normal file
|
|
@ -0,0 +1,67 @@
|
|||
<?php
|
||||
|
||||
namespace App\Controller;
|
||||
|
||||
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
|
||||
use Symfony\Component\Routing\Annotation\Route;
|
||||
use Symfony\Component\HttpFoundation\Response;
|
||||
use Symfony\Component\HttpFoundation\Request;
|
||||
|
||||
class PageController extends AbstractController
|
||||
{
|
||||
#[Route(
|
||||
'/{_locale}/page/submit',
|
||||
name: 'page_submit'
|
||||
)]
|
||||
public function submit(): Response
|
||||
{
|
||||
return $this->render('default/page/submit.html.twig', [
|
||||
// @TODO
|
||||
]);
|
||||
}
|
||||
|
||||
#[Route(
|
||||
'/{_locale}/page/stars',
|
||||
name: 'page_stars'
|
||||
)]
|
||||
public function stars(): Response
|
||||
{
|
||||
// @TODO
|
||||
}
|
||||
|
||||
#[Route(
|
||||
'/{_locale}/page/views',
|
||||
name: 'page_views'
|
||||
)]
|
||||
public function views(): Response
|
||||
{
|
||||
// @TODO
|
||||
}
|
||||
|
||||
#[Route(
|
||||
'/{_locale}/page/downloads',
|
||||
name: 'page_downloads'
|
||||
)]
|
||||
public function downloads(): Response
|
||||
{
|
||||
// @TODO
|
||||
}
|
||||
|
||||
#[Route(
|
||||
'/{_locale}/page/comments',
|
||||
name: 'page_comments'
|
||||
)]
|
||||
public function comments(): Response
|
||||
{
|
||||
// @TODO
|
||||
}
|
||||
|
||||
#[Route(
|
||||
'/{_locale}/page/editions',
|
||||
name: 'page_editions'
|
||||
)]
|
||||
public function editions(): Response
|
||||
{
|
||||
// @TODO
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue