summaryrefslogtreecommitdiff
path: root/config/routes
diff options
context:
space:
mode:
authorMatija Čupić <matteeyah@gmail.com>2018-01-29 18:54:16 +0100
committerMatija Čupić <matteeyah@gmail.com>2018-02-05 18:58:19 +0100
commita8887a0d9c4a41a0707b92189572aeff10566af6 (patch)
tree6c7fb9025c2f1ffc7ae82ecaeffd0facd21c042d /config/routes
parent0bfcdd66bf932c080398ff264323b5c0df17d05c (diff)
downloadgitlab-ce-a8887a0d9c4a41a0707b92189572aeff10566af6.tar.gz
Use `resource` in Group Variables routing scheme
Diffstat (limited to 'config/routes')
-rw-r--r--config/routes/group.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/config/routes/group.rb b/config/routes/group.rb
index b3afbb4152f..ac22b636372 100644
--- a/config/routes/group.rb
+++ b/config/routes/group.rb
@@ -27,9 +27,7 @@ constraints(GroupUrlConstrainer.new) do
resource :ci_cd, only: [:show], controller: 'ci_cd'
end
- namespace :variables do
- post :save_multiple
- end
+ resource :variables, only: [:show, :update]
resources :children, only: [:index]