Answer the question
In order to leave comments, you need to log in
How to make url in yii controller?
there is a prodaja module,
respectively, it is displayed on the prodaja website, but I need prodaja-kvartir
What should I write in the index action or in the config?
This option doesn't work:
'urlManager'=> [
..............
'rules'=> [
.............
'prodaja-kvartir/< _c:\w+>/<_a:\w+>' => 'prodaja/<_c>/<_a>',
..............
],
],
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