summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorTimothy Andrew <mail@timothyandrew.net>2016-08-24 20:47:15 +0530
committerTimothy Andrew <mail@timothyandrew.net>2016-08-26 16:27:37 +0530
commit8ccea81cba048021ed9eded83db15b383ecd4a32 (patch)
treee5bcfd933ea6f9becb248c3e6dd6eaf8122c9ad8 /config
parent516c838a1846d049814765afa85c28a3c14a5b9f (diff)
downloadgitlab-ce-8ccea81cba048021ed9eded83db15b383ecd4a32.tar.gz
Display numbers for the "Issue (Tracker)" cycle analytics metric.
1. Code is messy and untested, but it is a start.
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 24f9b44a53a..270c71f1a00 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -779,6 +779,8 @@ Rails.application.routes.draw do
resources :environments
+ resource :cycle_analytics
+
resources :builds, only: [:index, :show], constraints: { id: /\d+/ } do
collection do
post :cancel_all