Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorMatija Čupić <matteeyah@gmail.com>2018-01-13 00:39:42 +0300
committerMatija Čupić <matteeyah@gmail.com>2018-02-05 20:57:42 +0300
commitfe96a1f268558526fd122a348866fbf513ac17e2 (patch)
tree83383472b6bd763570157856131c47013a0e0787 /config
parent2150ed4094ddb67d7b403cd56360700c80e7d928 (diff)
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