@@ -75,8 +75,8 @@ return [ | |||
'showScriptName' => false, | |||
'enableStrictParsing' => false, | |||
'rules' => [ | |||
'<slug_producer:\w+>/?' => 'site/index', | |||
'<slug_producer:\w+>/<controller>/<action>/?' => '<controller>/<action>', | |||
'<slug_producer:\w+>' => 'site/index', | |||
'<slug_producer:\w+>/<controller>/<action>' => '<controller>/<action>', | |||
], | |||
], | |||
'urlManagerFrontend' => [ |