From 0fd90f40633c680e6b244d8fda81ca71d4733c51 Mon Sep 17 00:00:00 2001 From: Marek Pietrzak Date: Tue, 19 Dec 2017 13:10:33 +0000 Subject: [PATCH] [Routing] Add 4.0 folder, revert changes made in 3.3 --- symfony/routing/3.3/config/routes.yaml | 2 +- symfony/routing/4.0/config/packages/dev/routing.yaml | 3 +++ symfony/routing/4.0/config/packages/routing.yaml | 3 +++ symfony/routing/4.0/config/routes.yaml | 3 +++ symfony/routing/4.0/manifest.json | 6 ++++++ 5 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 symfony/routing/4.0/config/packages/dev/routing.yaml create mode 100644 symfony/routing/4.0/config/packages/routing.yaml create mode 100644 symfony/routing/4.0/config/routes.yaml create mode 100644 symfony/routing/4.0/manifest.json diff --git a/symfony/routing/3.3/config/routes.yaml b/symfony/routing/3.3/config/routes.yaml index c3283aa2..3fab0c64 100644 --- a/symfony/routing/3.3/config/routes.yaml +++ b/symfony/routing/3.3/config/routes.yaml @@ -1,3 +1,3 @@ #index: # path: / -# controller: App\Controller\DefaultController::index +# defaults: { _controller: 'App\Controller\DefaultController::index' } diff --git a/symfony/routing/4.0/config/packages/dev/routing.yaml b/symfony/routing/4.0/config/packages/dev/routing.yaml new file mode 100644 index 00000000..4116679a --- /dev/null +++ b/symfony/routing/4.0/config/packages/dev/routing.yaml @@ -0,0 +1,3 @@ +framework: + router: + strict_requirements: true diff --git a/symfony/routing/4.0/config/packages/routing.yaml b/symfony/routing/4.0/config/packages/routing.yaml new file mode 100644 index 00000000..368bc7f4 --- /dev/null +++ b/symfony/routing/4.0/config/packages/routing.yaml @@ -0,0 +1,3 @@ +framework: + router: + strict_requirements: ~ diff --git a/symfony/routing/4.0/config/routes.yaml b/symfony/routing/4.0/config/routes.yaml new file mode 100644 index 00000000..c3283aa2 --- /dev/null +++ b/symfony/routing/4.0/config/routes.yaml @@ -0,0 +1,3 @@ +#index: +# path: / +# controller: App\Controller\DefaultController::index diff --git a/symfony/routing/4.0/manifest.json b/symfony/routing/4.0/manifest.json new file mode 100644 index 00000000..c0c66b64 --- /dev/null +++ b/symfony/routing/4.0/manifest.json @@ -0,0 +1,6 @@ +{ + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + }, + "aliases": ["router"] +}