diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2019-12-05 00:07:31 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2019-12-05 00:07:31 +0300 |
commit | 71221554dd9ddf30f73035c89f78164e001aa96d (patch) | |
tree | c56e0b2fc3dd16602183b78cb3f68aed211c5e77 /config/routes/group.rb | |
parent | b41cd8cb92d53454b2b160ba922d33801933a9cf (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'config/routes/group.rb')
-rw-r--r-- | config/routes/group.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/config/routes/group.rb b/config/routes/group.rb index 437c80b8c92..30671d4e0a1 100644 --- a/config/routes/group.rb +++ b/config/routes/group.rb @@ -1,8 +1,10 @@ # frozen_string_literal: true +# rubocop: disable Cop/PutGroupRoutesUnderScope resources :groups, only: [:index, :new, :create] do post :preview_markdown end +# rubocop: enable Cop/PutGroupRoutesUnderScope constraints(::Constraints::GroupUrlConstrainer.new) do scope(path: 'groups/*id', |