浏览代码

upgrade symfony/routing

Vincent 2 年之前
父节点
当前提交
91df32d139
共有 1 个文件被更改,包括 2 次插入6 次删除
  1. 2 6
      config/routes.yaml

+ 2 - 6
config/routes.yaml

@@ -1,10 +1,6 @@
 controllers:
-  resource: ../src/Controller/
-  type: annotation
-
-kernel:
-  resource: ../src/Kernel.php
-  type: annotation
+    resource: ../src/Controller/
+    type: attribute
 
 login_check:
   path: /login_check