diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-10-06 20:15:06 +0200 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-10-06 20:15:06 +0200 |
commit | 04c7dc2a9e2385ce47a70205eafd4cf4f91a0bba (patch) | |
tree | 90d5e2fe65e98654ddd759edc7bf822f1c3fb7df /config | |
parent | f6223ffb318d2e81ec50037810d23bbd86a400e8 (diff) | |
download | gitlab-ce-04c7dc2a9e2385ce47a70205eafd4cf4f91a0bba.tar.gz |
Cleanup CI code after refactoring and fix several 500 errors
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'config')
-rw-r--r-- | config/routes.rb | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/config/routes.rb b/config/routes.rb index 7f7c918ea5c..ccce40589e7 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -28,16 +28,14 @@ Gitlab::Application.routes.draw do end end - resource :charts, only: [:show] - - resources :commits, only: [:show] do + resources :commits, only: [] do member do get :status get :cancel end end - resources :builds, only: [:show] do + resources :builds, only: [] do member do get :cancel get :status |