mirror of
https://github.com/MarijnDoeve/TijdVoorDeTest.git
synced 2026-03-06 04:44:19 +01:00
Improve links
This commit is contained in:
@@ -27,7 +27,6 @@ return RectorConfig::configure()
|
|||||||
phpunitCodeQuality: true,
|
phpunitCodeQuality: true,
|
||||||
doctrineCodeQuality: true,
|
doctrineCodeQuality: true,
|
||||||
symfonyCodeQuality: true,
|
symfonyCodeQuality: true,
|
||||||
// naming: true
|
|
||||||
)
|
)
|
||||||
->withAttributesSets(all: true)
|
->withAttributesSets(all: true)
|
||||||
->withComposerBased(twig: true, doctrine: true, phpunit: true, symfony: true)
|
->withComposerBased(twig: true, doctrine: true, phpunit: true, symfony: true)
|
||||||
|
|||||||
@@ -43,7 +43,7 @@ final class BackofficeController extends AbstractController
|
|||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
|
||||||
#[Route('/backoffice/add', name: 'app_backoffice_season_add', priority: 10)]
|
#[Route('/backoffice/season/add', name: 'app_backoffice_season_add', priority: 10)]
|
||||||
public function addSeason(Request $request, EntityManagerInterface $em): Response
|
public function addSeason(Request $request, EntityManagerInterface $em): Response
|
||||||
{
|
{
|
||||||
$season = new Season();
|
$season = new Season();
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ use Symfony\Component\Routing\Attribute\Route;
|
|||||||
final class PrepareEliminationController extends AbstractController
|
final class PrepareEliminationController extends AbstractController
|
||||||
{
|
{
|
||||||
#[Route(
|
#[Route(
|
||||||
'/backoffice/elimination/{seasonCode}/{quiz}/prepare',
|
'/backoffice/season/{seasonCode}/quiz/{quiz}/elimination/prepare',
|
||||||
name: 'app_prepare_elimination',
|
name: 'app_prepare_elimination',
|
||||||
requirements: ['seasonCode' => self::SEASON_CODE_REGEX],
|
requirements: ['seasonCode' => self::SEASON_CODE_REGEX],
|
||||||
)]
|
)]
|
||||||
|
|||||||
@@ -97,7 +97,7 @@ class QuizController extends AbstractController
|
|||||||
}
|
}
|
||||||
|
|
||||||
#[Route(
|
#[Route(
|
||||||
'/backoffice/quiz/{quiz}/modify_correction/{candidate}',
|
'/backoffice/quiz/{quiz}/candidate/{candidate}/modify_correction',
|
||||||
name: 'app_backoffice_modify_correction',
|
name: 'app_backoffice_modify_correction',
|
||||||
)]
|
)]
|
||||||
#[IsGranted(SeasonVoter::EDIT, subject: 'quiz')]
|
#[IsGranted(SeasonVoter::EDIT, subject: 'quiz')]
|
||||||
|
|||||||
@@ -43,7 +43,7 @@ class SeasonController extends AbstractController
|
|||||||
}
|
}
|
||||||
|
|
||||||
#[Route(
|
#[Route(
|
||||||
'/backoffice/season/{seasonCode}/add_candidate',
|
'/backoffice/season/{seasonCode}/add-candidate',
|
||||||
name: 'app_backoffice_add_candidates',
|
name: 'app_backoffice_add_candidates',
|
||||||
requirements: ['seasonCode' => self::SEASON_CODE_REGEX],
|
requirements: ['seasonCode' => self::SEASON_CODE_REGEX],
|
||||||
priority: 10,
|
priority: 10,
|
||||||
@@ -69,7 +69,7 @@ class SeasonController extends AbstractController
|
|||||||
}
|
}
|
||||||
|
|
||||||
#[Route(
|
#[Route(
|
||||||
'/backoffice/season/{seasonCode}/add',
|
'/backoffice/season/{seasonCode}/add-quiz',
|
||||||
name: 'app_backoffice_quiz_add',
|
name: 'app_backoffice_quiz_add',
|
||||||
requirements: ['seasonCode' => self::SEASON_CODE_REGEX],
|
requirements: ['seasonCode' => self::SEASON_CODE_REGEX],
|
||||||
priority: 10,
|
priority: 10,
|
||||||
|
|||||||
Reference in New Issue
Block a user