Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
9ca4d570
Commit
9ca4d570
authored
Jun 10, 2020
by
Dmytro Zaporozhets
Committed by
Mike Jang
Jun 10, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update dev routing doc with new info
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
43efc7a4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
2 deletions
+10
-2
doc/development/routing.md
doc/development/routing.md
+10
-2
No files found.
doc/development/routing.md
View file @
9ca4d570
...
@@ -63,11 +63,19 @@ gitlab-org/gitlab/-/settings/repository
...
@@ -63,11 +63,19 @@ gitlab-org/gitlab/-/settings/repository
gitlab-org/serverless/runtimes/-/settings/repository
gitlab-org/serverless/runtimes/-/settings/repository
```
```
Currently, only some project routes are placed under the
`/-/`
scope. However,
## Migrating unscoped routes
you can help us migrate more of them! To migrate project 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.
Modify existing routes by adding
`-`
scope.
1.
Add redirects for legacy routes by using
`Gitlab::Routing.redirect_legacy_paths`
.
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.
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
)
.
To get started, see an
[
example merge request
](
https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/28435
)
.
## Useful links
-
[
Routing improvements masterplan
](
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
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment