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"] +}