Код: Выделить всё
['pattern'=>'<action>', 'route'=>'<module>/<controller>/<action>'],
и как закрыть предыдущие урлы? К примеру
Код: Выделить всё
['pattern'=>'profile', 'route'=>'user/profile/index'], // чтобы по 'user/profile/index' было 404
Код: Выделить всё
['pattern'=>'<action>', 'route'=>'<module>/<controller>/<action>'],
Код: Выделить всё
['pattern'=>'profile', 'route'=>'user/profile/index'], // чтобы по 'user/profile/index' было 404