diff options
author | Matija Čupić <matteeyah@gmail.com> | 2018-01-23 02:09:36 +0100 |
---|---|---|
committer | Matija Čupić <matteeyah@gmail.com> | 2018-02-05 18:57:43 +0100 |
commit | edbe911b04465f0e6c72e102d083d0e85848a552 (patch) | |
tree | b5aa6c575b78d264d65a4c435deb74571d754f4e /config/routes | |
parent | 5de85708ce17c1965581b8bf7563751dda77510d (diff) | |
download | gitlab-ce-edbe911b04465f0e6c72e102d083d0e85848a552.tar.gz |
Remove redundant routes in VariablesController
Diffstat (limited to 'config/routes')
-rw-r--r-- | config/routes/project.rb | 6 |
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 |