Browse Source

清空默认路由配置

Anyon 8 years ago
parent
commit
ca8bd17521
1 changed files with 1 additions and 10 deletions
  1. 1 10
      config/route.php

+ 1 - 10
config/route.php

@@ -9,13 +9,4 @@
 // | Author: liu21st <liu21st@gmail.com>
 // +----------------------------------------------------------------------
 
-return [
-    '__pattern__' => [
-        'name' => '\w+',
-    ],
-    '[hello]'     => [
-        ':id'   => ['index/hello', ['method' => 'get'], ['id' => '\d+']],
-        ':name' => ['index/hello', ['method' => 'post']],
-    ],
-
-];
+return [];