How to get the Path of a given controller action without specifying the parameters in twig Template (Symfony)

后端 未结 0 1894
青春惊慌失措
青春惊慌失措 2020-12-10 23:33

I use this line to get the path of a controller named "finddealer"

In this way:

{{ path(\'finddealer\', { \'field\': null, \'value\': null })         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题