summaryrefslogtreecommitdiff
path: root/doc/development/routing.md
diff options
context:
space:
mode:
Diffstat (limited to 'doc/development/routing.md')
-rw-r--r--doc/development/routing.md12
1 files changed, 10 insertions, 2 deletions
diff --git a/doc/development/routing.md b/doc/development/routing.md
index 97837a917a2..e164431853f 100644
--- a/doc/development/routing.md
+++ b/doc/development/routing.md
@@ -63,11 +63,19 @@ gitlab-org/gitlab/-/settings/repository
gitlab-org/serverless/runtimes/-/settings/repository
```
-Currently, only some project routes are placed under the `/-/` scope. However,
-you can help us migrate more of them! To migrate project routes:
+## Migrating unscoped routes
+
+Currently, the majority of routes are placed under the `/-/` scope. However,
+you can help us migrate the rest of them! To migrate routes:
1. Modify existing routes by adding `-` scope.
1. Add redirects for legacy routes by using `Gitlab::Routing.redirect_legacy_paths`.
1. Create a technical debt issue to remove deprecated routes in later releases.
To get started, see an [example merge request](https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/28435).
+
+## Useful links
+
+- [Routing improvements master plan](https://gitlab.com/gitlab-org/gitlab/-/issues/215362)
+- [Scoped routing explained](https://gitlab.com/gitlab-org/gitlab/-/issues/214217)
+- [Removal of deprecated routes](https://gitlab.com/gitlab-org/gitlab/-/issues/28848)