diff options
author | Matija Čupić <matteeyah@gmail.com> | 2018-01-12 22:39:42 +0100 |
---|---|---|
committer | Matija Čupić <matteeyah@gmail.com> | 2018-02-05 18:57:42 +0100 |
commit | fe96a1f268558526fd122a348866fbf513ac17e2 (patch) | |
tree | 83383472b6bd763570157856131c47013a0e0787 /config/routes | |
parent | 2150ed4094ddb67d7b403cd56360700c80e7d928 (diff) | |
download | gitlab-ce-fe96a1f268558526fd122a348866fbf513ac17e2.tar.gz |
Stub multiple variable controller method
Diffstat (limited to 'config/routes')
-rw-r--r-- | config/routes/project.rb | 7 |
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 |