Answer the question
In order to leave comments, you need to log in
How to exclude the test module from the route in main.php?
I have a route in main.php
. How to exclude the test module from it?'<module:\w+>/<controller:\w+>' => '<module>/<controller>/index'
Answer the question
In order to leave comments, you need to log in
More or less like this. Just check the regulator.<module: (?!test)\w+>/<controller: \w+ >
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question