diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-07-19 23:26:13 +0200 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-07-19 23:26:13 +0200 |
commit | 4a74798a7ba16fec37f634d0eaf52b838213e090 (patch) | |
tree | e92a68f1b516a118d01f1e9cb61d90ccb86a3f80 /config/routes.rb | |
parent | 22be5aed1d6db526bd945f9492b806c29969676d (diff) | |
download | gitlab-ce-4a74798a7ba16fec37f634d0eaf52b838213e090.tar.gz |
Move Pipelines settings under `gitlab.com/gitlab-org/gitlab-ce/pipelines/settings`
Diffstat (limited to 'config/routes.rb')
-rw-r--r-- | config/routes.rb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/config/routes.rb b/config/routes.rb index d09c021dac7..70cbc99d614 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -733,6 +733,11 @@ 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 + member do post :cancel post :retry @@ -744,7 +749,6 @@ Rails.application.routes.draw do resources :builds, only: [:index, :show], constraints: { id: /\d+/ } do collection do post :cancel_all - get :settings end member do |