Answer the question
In order to leave comments, you need to log in
How to properly configure routing in Yii2?
I know that there are already a bunch of such topics, but I still could not find a solution to my situation.
In general, I need to make the address site.ru/car
lead to the baseController controller, and car
be passed to the controller via GET, GET[type=car], and site.ru/car/create
----> baseController actionCreate GET[type=car],
but such rules should only work for addresses site.ru/car/...
andsite.ru/bike/...
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