Answer the question
In order to leave comments, you need to log in
How to organize routing inside a Bundle?
What is the correct way to write route configs in a Symfony 4 bundle, so that when installing the bundle through the composer, there is no need to manually add the file to config/routes?
For example, load yaml directly from the bundle with the content:
user_routes:
resource: ../../Controller/*
type: annotation
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