From b9a2804132757a01d86a0f3490daa3fe4936ec8f Mon Sep 17 00:00:00 2001 From: ghost Date: Wed, 4 Oct 2023 19:22:59 +0300 Subject: [PATCH] remove deprecated methods --- src/Controller/PageController.php | 45 ------------------------- templates/default/user/module.html.twig | 2 ++ 2 files changed, 2 insertions(+), 45 deletions(-) diff --git a/src/Controller/PageController.php b/src/Controller/PageController.php index 8499718..fe48db3 100644 --- a/src/Controller/PageController.php +++ b/src/Controller/PageController.php @@ -24,49 +24,4 @@ class PageController extends AbstractController // @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 - } } \ No newline at end of file diff --git a/templates/default/user/module.html.twig b/templates/default/user/module.html.twig index 1dbd40f..f64cd78 100644 --- a/templates/default/user/module.html.twig +++ b/templates/default/user/module.html.twig @@ -38,6 +38,7 @@ {% endif %} + {# {% if route == 'page_stars' %} @@ -163,6 +164,7 @@ {% endif %} + #} {% if route == 'page_submit' %}