Commit 7e8ef1b8 authored by Kamil Trzcinski's avatar Kamil Trzcinski

Update routes

parent a7cb1263
...@@ -732,10 +732,7 @@ Rails.application.routes.draw do ...@@ -732,10 +732,7 @@ Rails.application.routes.draw do
resources :triggers, only: [:index, :create, :destroy] resources :triggers, only: [:index, :create, :destroy]
resources :pipelines, only: [:index, :new, :create, :show] do resources :pipelines, only: [:index, :new, :create, :show] do
collection do resource :settings, only: [:index, :update]
get :settings
patch :settings, to: 'pipelines#update_settings'
end
member do member do
post :cancel post :cancel
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment