JavaScript
6
Вклад в тег
'urlManager' => [
'enablePrettyUrl' => true,
'showScriptName' => false,
'rules' => [
'<controller>/<action>' => '<controller>/<action>',
'site/hello/<name:\w+>' => 'site/hello',
]
],