summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2016-04-29 15:14:38 +0200
committerKamil Trzcinski <ayufan@ayufan.eu>2016-06-10 22:38:40 +0200
commitcf7da039bedcad5163ce9deedccc94206d4c485a (patch)
treefe865b6b7f017a964f01f2909fbf1842bc6e3992 /config
parentff345f8ba11658c679b423e06bbc42b90af158eb (diff)
downloadgitlab-ce-cf7da039bedcad5163ce9deedccc94206d4c485a.tar.gz
commit status
Diffstat (limited to 'config')
-rw-r--r--config/routes.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/config/routes.rb b/config/routes.rb
index 95fbe7dd9df..6b8402c40dd 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -704,6 +704,8 @@ Rails.application.routes.draw do
end
end
+ resources :environments, only: [:index, :show]
+
resources :builds, only: [:index, :show], constraints: { id: /\d+/ } do
collection do
post :cancel_all