S
S
symnoob2018-11-13 23:56:34
symfony
symnoob, 2018-11-13 23:56:34

How to correctly write Routing annotations for your bundle in Symfony 4??

Good afternoon
Can anyone tell me how to correctly write Routes in annotations.yaml for your bundle?
with Controllers it seems to be clear and working, but how to do it for bundle controllers?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Maxim Fedorov, 2018-11-14
@symnoob

How to Include External Routing Resources
Link:

  • how to specify if routes are in bundle controller annotations
  • how to specify if the routes are in the config in the bundle
  • how to specify if routes are in a folder in a bundle

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question