Commit e6e9c13f authored by Thong Kuah's avatar Thong Kuah

Note about route conflicts linking to guidelines

We should be adding to `/-/` namespace instead
parent b9997292
......@@ -57,6 +57,10 @@ module Gitlab
v2
].freeze
# NOTE: Do not add new items to this list unless necessary as this will
# cause conflicts with existing namespaced routes for groups or projects.
# See https://docs.gitlab.com/ee/development/routing.html#project-routes
#
# This list should contain all words following `/*namespace_id/:project_id` in
# routes that contain a second wildcard.
#
......@@ -104,6 +108,10 @@ module Gitlab
wikis
].freeze
# NOTE: Do not add new items to this list unless necessary as this will
# cause conflicts with existing namespaced routes for groups or projects.
# See https://docs.gitlab.com/ee/development/routing.html#group-routes
#
# These are all the paths that follow `/groups/*id/ or `/groups/*group_id`
# We need to reject these because we have a `/groups/*id` page that is the same
# as the `/*id`.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment