瀏覽代碼

Merge branch 'hotfix/hotfix_url_slash'

master
Guillaume Bourgeois 1 年之前
父節點
當前提交
8b6a476723
共有 1 個檔案被更改,包括 3 行新增0 行删除
  1. +3
    -0
      common/config/main.php

+ 3
- 0
common/config/main.php 查看文件

@@ -142,6 +142,9 @@ return [
'<slug_producer:\w+>' => 'site/index',
'<slug_producer:\w+>/<controller>/<action>' => '<controller>/<action>',
],
'normalizer' => [
'class' => 'yii\web\UrlNormalizer',
],
],
'urlManagerFrontend' => [
'class' => 'common\components\UrlManagerCommon',

Loading…
取消
儲存