Browse Source

Config : controller/action par défaut

refactoring
keun 6 years ago
parent
commit
27935404f3
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      common/config/main.php

+ 1
- 0
common/config/main.php View File

'showScriptName' => false, 'showScriptName' => false,
'enableStrictParsing' => false, 'enableStrictParsing' => false,
'rules' => [ 'rules' => [
'<slug_producer:\w+>/' => 'site/index',
'<slug_producer:\w+>/<controller>/<action>' => '<controller>/<action>', '<slug_producer:\w+>/<controller>/<action>' => '<controller>/<action>',
], ],
], ],

Loading…
Cancel
Save