diff options
author | Matija Čupić <matteeyah@gmail.com> | 2018-01-23 19:24:55 +0100 |
---|---|---|
committer | Matija Čupić <matteeyah@gmail.com> | 2018-02-05 18:58:17 +0100 |
commit | cc2bed9283039db726f42184ea635f057534205f (patch) | |
tree | faee9281088f8975c60edd4650c614cf319d05dc /config | |
parent | edbe911b04465f0e6c72e102d083d0e85848a552 (diff) | |
download | gitlab-ce-cc2bed9283039db726f42184ea635f057534205f.tar.gz |
Port #save_multiple to Groups::VariablesController
Diffstat (limited to 'config')
-rw-r--r-- | config/routes/group.rb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/config/routes/group.rb b/config/routes/group.rb index 24c76bc55ab..cdf2647415d 100644 --- a/config/routes/group.rb +++ b/config/routes/group.rb @@ -27,7 +27,11 @@ constraints(GroupUrlConstrainer.new) do resource :ci_cd, only: [:show], controller: 'ci_cd' end - resources :variables, only: [:index, :show, :update, :create, :destroy] + resources :variables, only: [:index, :show, :update, :create, :destroy] do + collection do + post :save_multiple + end + end resources :children, only: [:index] |