diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-07-20 13:59:20 +0200 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-07-20 13:59:20 +0200 |
commit | 7e8ef1b853b2d95ba99ac597992724b51163fde6 (patch) | |
tree | fa3c8a58fe06359dbefac9f30a64bf11bb37700c /config | |
parent | a7cb1263f146843971f8d44422a3450030b01590 (diff) | |
download | gitlab-ce-7e8ef1b853b2d95ba99ac597992724b51163fde6.tar.gz |
Update routes
Diffstat (limited to 'config')
-rw-r--r-- | config/routes.rb | 5 |
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 |