summaryrefslogtreecommitdiff
path: root/config/routes/group.rb
diff options
context:
space:
mode:
authorMatija Čupić <matteeyah@gmail.com>2018-01-23 19:24:55 +0100
committerMatija Čupić <matteeyah@gmail.com>2018-02-05 18:58:17 +0100
commitcc2bed9283039db726f42184ea635f057534205f (patch)
treefaee9281088f8975c60edd4650c614cf319d05dc /config/routes/group.rb
parentedbe911b04465f0e6c72e102d083d0e85848a552 (diff)
downloadgitlab-ce-cc2bed9283039db726f42184ea635f057534205f.tar.gz
Port #save_multiple to Groups::VariablesController
Diffstat (limited to 'config/routes/group.rb')
-rw-r--r--config/routes/group.rb6
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]