Answer the question
In order to leave comments, you need to log in
How to register all routes in urlManager at once?
Hello, in Yii2, in the urlManager module, I want to register in the rules properties at once access through all routes to one controller action, how can this be implemented?
Answer the question
In order to leave comments, you need to log in
Solved the problem by overriding the UrlRules class and inserting it into the rules property of the urlManager component
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question