remove deprecated methods

This commit is contained in:
ghost 2023-10-04 19:22:59 +03:00
parent d73086231f
commit b9a2804132
2 changed files with 2 additions and 45 deletions

View File

@ -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
}
}

View File

@ -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 @@
</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">