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-29 20:39:06 +0300
committerMatija Čupić <matteeyah@gmail.com>2018-02-05 20:58:18 +0300
commit0bfcdd66bf932c080398ff264323b5c0df17d05c (patch)
tree1c306a83624c53ec65ec67229de5033096d35593 /config
parent6b82a9ef51f59d37975bd5de48142d1a0a8504de (diff)
Use `resource` in Project Variables routing scheme
Diffstat (limited to 'config')
-rw-r--r--config/routes/project.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/config/routes/project.rb b/config/routes/project.rb
index b8d09f01ae1..1912808f9c0 100644
--- a/config/routes/project.rb
+++ b/config/routes/project.rb
@@ -156,9 +156,7 @@ constraints(ProjectUrlConstrainer.new) do
end
end
- namespace :variables do
- post :save_multiple
- end
+ resource :variables, only: [:show, :update]
resources :triggers, only: [:index, :create, :edit, :update, :destroy] do
member do