Browse Source

remove deprecated methods

main
ghost 1 year ago
parent
commit
b9a2804132
  1. 45
      src/Controller/PageController.php
  2. 2
      templates/default/user/module.html.twig

45
src/Controller/PageController.php

@ -24,49 +24,4 @@ class PageController extends AbstractController @@ -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
}
}

2
templates/default/user/module.html.twig

@ -38,6 +38,7 @@ @@ -38,6 +38,7 @@
</span>
</a>
{% endif %}
{#
{% if route == 'page_stars' %}
<span class="padding-x-16-px padding-y-8-px display-block background-color-green cursor-default text-color-white">
<svg xmlns="http://www.w3.org/2000/svg" width="13" height="13" fill="currentColor" viewBox="0 0 16 16">
@ -163,6 +164,7 @@ @@ -163,6 +164,7 @@
</span>
</a>
{% endif %}
#}
{% if route == 'page_submit' %}
<span class="padding-x-16-px padding-y-8-px display-block background-color-green cursor-default text-color-white">
<svg xmlns="http://www.w3.org/2000/svg" width="13" height="13" fill="currentColor" viewBox="0 0 16 16">

Loading…
Cancel
Save