mirror of
https://github.com/symfony/recipes.git
synced 2026-09-12 07:36:30 +03:00
Update Flex endpoint
This commit is contained in:
@@ -0,0 +1,46 @@
|
||||
{
|
||||
"manifests": {
|
||||
"symfony/routing": {
|
||||
"manifest": {
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
},
|
||||
"conflict": {
|
||||
"symfony/framework-bundle": "<6.2"
|
||||
}
|
||||
},
|
||||
"files": {
|
||||
"config/packages/routing.yaml": {
|
||||
"contents": [
|
||||
"framework:",
|
||||
" router:",
|
||||
" utf8: true",
|
||||
"",
|
||||
" # Configure how to generate URLs in non-HTTP contexts, such as CLI commands.",
|
||||
" # See https://symfony.com/doc/current/routing.html#generating-urls-in-commands",
|
||||
" #default_uri: http://localhost",
|
||||
"",
|
||||
"when@prod:",
|
||||
" framework:",
|
||||
" router:",
|
||||
" strict_requirements: null",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/routes.yaml": {
|
||||
"contents": [
|
||||
"controllers:",
|
||||
" resource:",
|
||||
" path: ../src/Controller/",
|
||||
" namespace: App\\Controller",
|
||||
" type: attribute",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "e0a11b4ccb8c9e70b574ff5ad3dfdcd41dec5aa6"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -31,14 +31,16 @@
|
||||
"config/routes.yaml": {
|
||||
"contents": [
|
||||
"controllers:",
|
||||
" resource: ../src/Controller/",
|
||||
" type: attribute@App\\Controller",
|
||||
" resource:",
|
||||
" path: ../src/Controller/",
|
||||
" namespace: App\\Controller",
|
||||
" type: attribute",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "f4e5c6156d4da114e26db004f393d8a9c9860d56"
|
||||
"ref": "e0a11b4ccb8c9e70b574ff5ad3dfdcd41dec5aa6"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user