diff options
author | Grzegorz Bizon <grzegorz@gitlab.com> | 2019-06-18 14:37:06 +0300 |
---|---|---|
committer | Grzegorz Bizon <grzegorz@gitlab.com> | 2019-06-18 14:37:06 +0300 |
commit | d051d1f81dfc01d8d16f938fba81278301b29e51 (patch) | |
tree | 01188228fed5598e59b74ad7b6654b0c696854f6 /config | |
parent | 1de4ebc7eed1b6fe25feb5a5306b83b15ced6ab2 (diff) | |
parent | 9259ab7decd385d24c35dd71ec2c2de1ca8208cc (diff) |
Merge branch 'dz-remove-deprecated-group-routes' into 'master'
Remove deprecated group routes
See merge request gitlab-org/gitlab-ce!29351
Diffstat (limited to 'config')
-rw-r--r-- | config/routes/group.rb | 8 |
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 |