From b67c22056e11ec350b3f59044f0cabf4e4098381 Mon Sep 17 00:00:00 2001 From: mamazu <14860264+mamazu@users.noreply.github.com> Date: Tue, 10 Feb 2026 18:13:33 +0100 Subject: [PATCH] [sulu/redirect-bundle] Providing configuration for version 3. (#1940) * Adding Sulu Headless Bundle 3.0 configuration * Updating the documetantation link --- .../3.0/config/routes/sulu_redirect_admin.yaml | 8 ++++++++ sulu/redirect-bundle/3.0/manifest.json | 8 ++++++++ sulu/redirect-bundle/3.0/post-install.txt | 6 ++++++ 3 files changed, 22 insertions(+) create mode 100644 sulu/redirect-bundle/3.0/config/routes/sulu_redirect_admin.yaml create mode 100644 sulu/redirect-bundle/3.0/manifest.json create mode 100644 sulu/redirect-bundle/3.0/post-install.txt diff --git a/sulu/redirect-bundle/3.0/config/routes/sulu_redirect_admin.yaml b/sulu/redirect-bundle/3.0/config/routes/sulu_redirect_admin.yaml new file mode 100644 index 00000000..a944394b --- /dev/null +++ b/sulu/redirect-bundle/3.0/config/routes/sulu_redirect_admin.yaml @@ -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 diff --git a/sulu/redirect-bundle/3.0/manifest.json b/sulu/redirect-bundle/3.0/manifest.json new file mode 100644 index 00000000..cce2d060 --- /dev/null +++ b/sulu/redirect-bundle/3.0/manifest.json @@ -0,0 +1,8 @@ +{ + "bundles": { + "Sulu\\Bundle\\RedirectBundle\\SuluRedirectBundle": ["all"] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + } +} diff --git a/sulu/redirect-bundle/3.0/post-install.txt b/sulu/redirect-bundle/3.0/post-install.txt new file mode 100644 index 00000000..0d052af6 --- /dev/null +++ b/sulu/redirect-bundle/3.0/post-install.txt @@ -0,0 +1,6 @@ + * The SuluRedirectBundle is almost ready: + 1. Print the sql statements required to update your database schema by running php bin/console doctrine:schema:update --dump-sql. + 2. If the statements look fine to you, run the same command using --force to execute them. + 3. Make sure your user has all the necessary permissions for the SuluRedirectBundle. + + * Read the documentation at https://github.com/sulu/SuluRedirectBundle/blob/3.0/Resources/doc/README.md