Browse Source

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

refactoring
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

@@ -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' => [

Loading…
Cancel
Save