summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorMatija Čupić <matteeyah@gmail.com>2018-01-12 22:39:42 +0100
committerMatija Čupić <matteeyah@gmail.com>2018-02-05 18:57:42 +0100
commitfe96a1f268558526fd122a348866fbf513ac17e2 (patch)
tree83383472b6bd763570157856131c47013a0e0787 /config
parent2150ed4094ddb67d7b403cd56360700c80e7d928 (diff)
downloadgitlab-ce-fe96a1f268558526fd122a348866fbf513ac17e2.tar.gz
Stub multiple variable controller method
Diffstat (limited to 'config')
-rw-r--r--config/routes/project.rb7
1 files changed, 6 insertions, 1 deletions
diff --git a/config/routes/project.rb b/config/routes/project.rb
index bcaa68c8ce5..8b65240ade4 100644
--- a/config/routes/project.rb
+++ b/config/routes/project.rb
@@ -156,7 +156,12 @@ constraints(ProjectUrlConstrainer.new) do
end
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 :triggers, only: [:index, :create, :edit, :update, :destroy] do
member do
post :take_ownership