Skip to content

Redirect deprecated snippets routes

What does this MR do?

Redirect unscoped snippet routing to a /-/ one. Now when - routing is a default one for almost a year, we can redirect old routing safely.

Examples:

https://gitlab.com/group/project/snippets => https://gitlab.com/group/project/-/snippets
https://gitlab.com/group/project/snippets/118849 => https://gitlab.com/group/project/-/snippets/118849
https://gitlab.com/snippets/118849 => https://gitlab.com/-/snippets/118849

FYI: We already did it for:

Issues:

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Edited by Dmytro Zaporozhets (DZ)

Merge request reports