summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2016-07-20 13:59:20 +0200
committerKamil Trzcinski <ayufan@ayufan.eu>2016-07-20 13:59:20 +0200
commit7e8ef1b853b2d95ba99ac597992724b51163fde6 (patch)
treefa3c8a58fe06359dbefac9f30a64bf11bb37700c /config
parenta7cb1263f146843971f8d44422a3450030b01590 (diff)
downloadgitlab-ce-7e8ef1b853b2d95ba99ac597992724b51163fde6.tar.gz
Update routes
Diffstat (limited to 'config')
-rw-r--r--config/routes.rb5
1 files changed, 1 insertions, 4 deletions
diff --git a/config/routes.rb b/config/routes.rb
index 29ceb1e23e9..57f1e1428e1 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -732,10 +732,7 @@ Rails.application.routes.draw do
resources :triggers, only: [:index, :create, :destroy]
resources :pipelines, only: [:index, :new, :create, :show] do
- collection do
- get :settings
- patch :settings, to: 'pipelines#update_settings'
- end
+ resource :settings, only: [:index, :update]
member do
post :cancel