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
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-01-28 21:08:35 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2020-01-28 21:08:35 +0300
commit6315ed9630fb1c6ade3114beb762cd1568d79219 (patch)
tree2a5d31936d09c14420c8f4c8bd752e268f0eb19f /config/routes/group.rb
parentfedf978f9aa1909ed7bb3fad767ad120a1c6bd7b (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'config/routes/group.rb')
-rw-r--r--config/routes/group.rb6
1 files changed, 0 insertions, 6 deletions
diff --git a/config/routes/group.rb b/config/routes/group.rb
index 24957d5ecef..8f572a685d8 100644
--- a/config/routes/group.rb
+++ b/config/routes/group.rb
@@ -1,11 +1,5 @@
# 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',
controller: :groups,