Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2015-10-14 13:15:03 +0300
committerKamil Trzcinski <ayufan@ayufan.eu>2015-10-14 18:28:38 +0300
commita957eca6f364b7587175a6ffa647fc9df80abed9 (patch)
treed3d3eb934a9f2eba028aa611aba421759171d38f /config
parent2d0fcb4de23ab368e2e030b3cf7f6b1705ef676f (diff)
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