diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-07-20 14:33:13 +0200 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-07-20 14:39:06 +0200 |
commit | 52d5d7daf13291416050de23c8635dd59373f3b7 (patch) | |
tree | 070364c000eafcd4221dcb789920d89342c98dc4 /config | |
parent | 7e8ef1b853b2d95ba99ac597992724b51163fde6 (diff) | |
download | gitlab-ce-52d5d7daf13291416050de23c8635dd59373f3b7.tar.gz |
Create PipelinesSettingsController for showing settings page
Diffstat (limited to 'config')
-rw-r--r-- | config/routes.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/config/routes.rb b/config/routes.rb index 57f1e1428e1..21f3585bacd 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -732,7 +732,9 @@ Rails.application.routes.draw do resources :triggers, only: [:index, :create, :destroy] resources :pipelines, only: [:index, :new, :create, :show] do - resource :settings, only: [:index, :update] + collection do + resource :pipelines_settings, path: 'settings', only: [:show, :update] + end member do post :cancel |