mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-09-11 15:16:55 +03:00
[sulu/redirect-bundle] Providing configuration for version 3. (#1940)
* Adding Sulu Headless Bundle 3.0 configuration * Updating the documetantation link
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
sulu_redirect_api:
|
||||
type: rest
|
||||
resource: "@SuluRedirectBundle/Resources/config/routing_api.yaml"
|
||||
prefix: /admin/api
|
||||
|
||||
sulu_redirect:
|
||||
resource: "@SuluRedirectBundle/Resources/config/routing.yaml"
|
||||
prefix: /admin/redirects
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"bundles": {
|
||||
"Sulu\\Bundle\\RedirectBundle\\SuluRedirectBundle": ["all"]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
* The <fg=green>SuluRedirectBundle</> is almost ready:
|
||||
1. Print the sql statements required to update your database schema by running <info>php bin/console doctrine:schema:update --dump-sql</>.
|
||||
2. If the statements look fine to you, run the same command using <info>--force</> to execute them.
|
||||
3. Make sure your user has all the necessary permissions for the <fg=green>SuluRedirectBundle</>.
|
||||
|
||||
* <fg=blue>Read</> the documentation at <comment>https://github.com/sulu/SuluRedirectBundle/blob/3.0/Resources/doc/README.md</>
|
||||
Reference in New Issue
Block a user