Answer the question
In order to leave comments, you need to log in
How to correctly specify the path to the template in Symfony?
Good evening.
How to correctly specify the path?
After all, there are two ways and I would like to know how correctly and how much.
// Первый
$this->render('@App/news.html.twig', []);
// Второй
$this->render('AppBundle:news.html.twig', []);
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question