mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-09-11 15:16:55 +03:00
[SyliusResourceBundle] Update routing configuration (#1831)
* [SyliusResourceBundle] Update routing configuration * Update sylius/resource-bundle/1.13/config/packages/sylius_resource.yaml --------- Co-authored-by: Dmitri Perunov <diimpp@gmail.com>
This commit is contained in:
co-authored by
Dmitri Perunov
parent
577b45237a
commit
a73eb7bfc8
@@ -1,4 +1,4 @@
|
||||
# @see https://github.com/Sylius/SyliusResourceBundle/blob/master/docs/index.md
|
||||
# @see https://stack.sylius.com/resource/index
|
||||
sylius_resource:
|
||||
# Override default settings
|
||||
#settings:
|
||||
|
||||
@@ -0,0 +1,15 @@
|
||||
# @see https://stack.sylius.com/resource/index
|
||||
sylius_resource:
|
||||
# Override default settings
|
||||
#settings:
|
||||
|
||||
# Configure the mapping for your resources
|
||||
mapping:
|
||||
paths:
|
||||
- '%kernel.project_dir%/src/Entity'
|
||||
|
||||
# Configure your resources
|
||||
resources:
|
||||
#app.book:
|
||||
#classes:
|
||||
#model: App\Entity\Book
|
||||
@@ -0,0 +1,3 @@
|
||||
sylius_resource_loader:
|
||||
resource: 'sylius.symfony.routing.loader.resource'
|
||||
type: service
|
||||
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"container": {
|
||||
"locale": "en"
|
||||
},
|
||||
"bundles": {
|
||||
"Sylius\\Bundle\\ResourceBundle\\SyliusResourceBundle": ["all"]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/",
|
||||
"src/": "%SRC_DIR%/"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user