These are chat archives for dektrium/yii2-user

14th
Oct 2016
Vladimir Ilin
@v-ilin
Oct 14 2016 22:03
Не буду переписыть заного на русский, просто скопирую из поста с Dektrium Community.
Hi! Can you, please, help me with such question. How I can extend default module property urlRules?
If i just add to my web.php 'urlRules' => [ 'admin/<action: \w+>'=> 'admin/<action>'] it fully override default value and other routes dont work properly. I want that my url look like this: /admin, /admin/update, /admin/create...
I try to use option 'urlPrefix' => '' but it didn't applies to admin's routes.