Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2019-06-07 14:38:26 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2019-06-14 20:36:19 +0300
commit9259ab7decd385d24c35dd71ec2c2de1ca8208cc (patch)
tree6497e0db7a71ca71882b8c51b0dfa4d375fc8758 /config
parent34b8231d49c880fc07f63c0b48f916a4f864e9c5 (diff)
Remove deprecated group routes
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'config')
-rw-r--r--config/routes/group.rb8
1 files changed, 0 insertions, 8 deletions
diff --git a/config/routes/group.rb b/config/routes/group.rb
index b300fcb757f..2cf9eb82447 100644
--- a/config/routes/group.rb
+++ b/config/routes/group.rb
@@ -88,12 +88,4 @@ constraints(::Constraints::GroupUrlConstrainer.new) do
put '/', action: :update
delete '/', action: :destroy
end
-
- # Legacy paths should be defined last, so they would be ignored if routes with
- # one of the previously reserved words exist.
- scope(path: 'groups/*group_id') do
- Gitlab::Routing.redirect_legacy_paths(self, :labels, :milestones, :group_members,
- :edit, :issues, :merge_requests, :projects,
- :activity)
- end
end