diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-04-12 17:16:39 +0300 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-04-13 12:03:39 +0300 |
commit | e84c155f092600b90be291f0f7bb649811fa53fb (patch) | |
tree | cbd5703632b2b92c6d8793a5aabb2a5b14e69d9b /config/routes.rb | |
parent | 4d72ca39803615850267d034e9dc59540fe657b7 (diff) |
WIP
Diffstat (limited to 'config/routes.rb')
-rw-r--r-- | config/routes.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/config/routes.rb b/config/routes.rb index 842fbb99843..841b3f26272 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -654,6 +654,13 @@ Rails.application.routes.draw do resource :variables, only: [:show, :update] resources :triggers, only: [:index, :create, :destroy] + resources :pipelines, only: [:index, :new, :create] do + member do + post :cancel + post :retry + end + end + resources :builds, only: [:index, :show], constraints: { id: /\d+/ } do collection do post :cancel_all |