diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2019-06-07 14:38:26 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2019-06-14 20:36:19 +0300 |
commit | 9259ab7decd385d24c35dd71ec2c2de1ca8208cc (patch) | |
tree | 6497e0db7a71ca71882b8c51b0dfa4d375fc8758 /config/routes | |
parent | 34b8231d49c880fc07f63c0b48f916a4f864e9c5 (diff) | |
download | gitlab-ce-9259ab7decd385d24c35dd71ec2c2de1ca8208cc.tar.gz |
Remove deprecated group routesdz-remove-deprecated-group-routes
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'config/routes')
-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 |