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-06-03 03:08:38 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2020-06-03 03:08:38 +0300
commitc4844aea3f98f1c9c41624a3dc0b81201533788a (patch)
tree018c08efc95817262d69684e6a94446859e2e0cb /config/routes
parent2164573e4531de7949b0ad9fe1d55bfb9c42765d (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'config/routes')
-rw-r--r--config/routes/group.rb2
-rw-r--r--config/routes/project.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/config/routes/group.rb b/config/routes/group.rb
index 9571d70d103..43314b3f44c 100644
--- a/config/routes/group.rb
+++ b/config/routes/group.rb
@@ -78,7 +78,7 @@ constraints(::Constraints::GroupUrlConstrainer.new) do
delete :leave, on: :collection
end
- resources :group_links, only: [:index, :create, :update, :destroy], constraints: { id: /\d+/ }
+ resources :group_links, only: [:create, :update, :destroy], constraints: { id: /\d+/ }
resources :uploads, only: [:create] do
collection do
diff --git a/config/routes/project.rb b/config/routes/project.rb
index e325b0d1c49..2b46754e98e 100644
--- a/config/routes/project.rb
+++ b/config/routes/project.rb
@@ -199,7 +199,7 @@ constraints(::Constraints::ProjectUrlConstrainer.new) do
resources :starrers, only: [:index]
resources :forks, only: [:index, :new, :create]
- resources :group_links, only: [:index, :create, :update, :destroy], constraints: { id: /\d+/ }
+ resources :group_links, only: [:create, :update, :destroy], constraints: { id: /\d+/ }
resource :import, only: [:new, :create, :show]
resource :avatar, only: [:show, :destroy]