Hello, I have action category/index, I want be able to get into this url by three urls /test, /test/cat, and /test/uncat. But I dont know how I can do this here is urlManager config:
'rules' => [
[
'pattern' => 'test',
'route' => 'category/index',
],
'<subcats: (cat|uncat)>' => 'test/<subcats>',
Can somebody help me? Thanks!