diff options
author | Matija Čupić <matteeyah@gmail.com> | 2018-01-23 19:34:06 +0100 |
---|---|---|
committer | Matija Čupić <matteeyah@gmail.com> | 2018-02-05 18:58:17 +0100 |
commit | dcc23530bd1e2bd1600bd523c90c040f84f8c354 (patch) | |
tree | 34b4bb95fc9ca9b5c93e772bbb574343a4628d7d /config/routes/group.rb | |
parent | cc2bed9283039db726f42184ea635f057534205f (diff) | |
download | gitlab-ce-dcc23530bd1e2bd1600bd523c90c040f84f8c354.tar.gz |
Remove redundant routes in Groups::VariablesController
Diffstat (limited to 'config/routes/group.rb')
-rw-r--r-- | config/routes/group.rb | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/config/routes/group.rb b/config/routes/group.rb index cdf2647415d..b3afbb4152f 100644 --- a/config/routes/group.rb +++ b/config/routes/group.rb @@ -27,10 +27,8 @@ constraints(GroupUrlConstrainer.new) do resource :ci_cd, only: [:show], controller: 'ci_cd' end - resources :variables, only: [:index, :show, :update, :create, :destroy] do - collection do - post :save_multiple - end + namespace :variables do + post :save_multiple end resources :children, only: [:index] |