Flag of Ukraine
SymfonyCasts stands united with the people of Ukraine
Next Chapter

Challenge #1 of 2


Q: 

Suppose you go to the following URL:

/admin?crudAction=edit&crudControllerFqcn=App%5CController%5CAdmin%5CQuestionCrudController

And you have the following code:

// src/Controller/Admin/DashboardController.php
#[Route('/admin', name: 'admin')]
public function index()
{
}
// src/Controller/Admin/QuestionCrudController.php
#[Route('/admin/question/edit', name: 'admin_question_edit')]
public function edit()
{
}

Exactly which route is matched and which controller is executed?

userVoice