Skip to content

Commit

Permalink
Fix tag stats url
Browse files Browse the repository at this point in the history
  • Loading branch information
Luehrsen committed Oct 29, 2023
1 parent b9a2309 commit 8ab9406
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Controller/ThemesController.php
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ public function tag(string $themeTagSlug, int $page = 1): Response
]);
}

#[Route('/themes/{themeTagSlug}/stats/', name: 'app_themes_tag_stats', requirements: ['themeTagSlug' => '[a-z0-9-]+'])]
#[Route('/themes/tag/{themeTagSlug}/stats/', name: 'app_themes_tag_stats', requirements: ['themeTagSlug' => '[a-z0-9-]+'])]
public function tagStats(string $themeTagSlug): Response
{
$themeTag = $this->themeTagRepository->findOneBy(['slug' => $themeTagSlug]);
Expand Down

0 comments on commit 8ab9406

Please sign in to comment.