diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-06-03 03:08:38 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-06-03 03:08:38 +0300 |
commit | c4844aea3f98f1c9c41624a3dc0b81201533788a (patch) | |
tree | 018c08efc95817262d69684e6a94446859e2e0cb /config/routes | |
parent | 2164573e4531de7949b0ad9fe1d55bfb9c42765d (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'config/routes')
-rw-r--r-- | config/routes/group.rb | 2 | ||||
-rw-r--r-- | config/routes/project.rb | 2 |
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] |