summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2015-10-14 12:15:03 +0200
committerKamil Trzcinski <ayufan@ayufan.eu>2015-10-14 17:28:38 +0200
commita957eca6f364b7587175a6ffa647fc9df80abed9 (patch)
treed3d3eb934a9f2eba028aa611aba421759171d38f /config
parent2d0fcb4de23ab368e2e030b3cf7f6b1705ef676f (diff)
downloadgitlab-ce-a957eca6f364b7587175a6ffa647fc9df80abed9.tar.gz
Added builds view
Diffstat (limited to 'config')
-rw-r--r--config/routes.rb6
1 files changed, 5 insertions, 1 deletions
diff --git a/config/routes.rb b/config/routes.rb
index 8e6fbf6340c..3253d950f27 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -585,7 +585,11 @@ Gitlab::Application.routes.draw do
end
end
- resources :builds, only: [:show] do
+ resources :builds, only: [:index, :show] do
+ collection do
+ post :cancel_all
+ end
+
member do
get :cancel
get :status