Пример #1
0
 /**
  * @Route("/categorie/{id}/voir", name="category_show")
  */
 public function showAction(Request $request, Category $category)
 {
     return $this->render(':category:show.html.twig', ['category' => $category, 'questions' => $category->getQuestions()]);
 }