Browse Source

Correction problème avec "/?" à la fin des URL

dev
Guillaume Bourgeois 5 years ago
parent
commit
a34b991774
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      common/config/main.php

+ 2
- 2
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+>' => 'site/index',
'<slug_producer:\w+>/<controller>/<action>' => '<controller>/<action>',
], ],
], ],
'urlManagerFrontend' => [ 'urlManagerFrontend' => [

Loading…
Cancel
Save