diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-07-20 14:59:20 +0300 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-07-20 14:59:20 +0300 |
commit | 7e8ef1b853b2d95ba99ac597992724b51163fde6 (patch) | |
tree | fa3c8a58fe06359dbefac9f30a64bf11bb37700c /config | |
parent | a7cb1263f146843971f8d44422a3450030b01590 (diff) |
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 |