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-23 04:09:36 +0300
committerMatija Čupić <matteeyah@gmail.com>2018-02-05 20:57:43 +0300
commitedbe911b04465f0e6c72e102d083d0e85848a552 (patch)
treeb5aa6c575b78d264d65a4c435deb74571d754f4e /config
parent5de85708ce17c1965581b8bf7563751dda77510d (diff)
Remove redundant routes in VariablesController
Diffstat (limited to 'config')
-rw-r--r--config/routes/project.rb6
1 files changed, 2 insertions, 4 deletions
diff --git a/config/routes/project.rb b/config/routes/project.rb
index 8b65240ade4..b8d09f01ae1 100644
--- a/config/routes/project.rb
+++ b/config/routes/project.rb
@@ -156,10 +156,8 @@ constraints(ProjectUrlConstrainer.new) do
end
end
- resources :variables, only: [:index, :show, :update, :create, :destroy] do
- collection do
- post :save_multiple
- end
+ namespace :variables do
+ post :save_multiple
end
resources :triggers, only: [:index, :create, :edit, :update, :destroy] do