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:
authorDouwe Maan <douwe@selenight.nl>2016-08-16 01:20:56 +0300
committerDouwe Maan <douwe@selenight.nl>2016-08-16 01:20:56 +0300
commit1ba2ef4fdafa26d2301f85bee2e38061c0dddd93 (patch)
tree7e401879596a39f365dd21670af8b3a370e75df0 /config
parent882f97e4e3f23fc28752da3644a62575d2cb84e1 (diff)
parent931eadaa5e8e0063c7d8f90b5863789ffcd33b30 (diff)
Merge branch 'master' into mc-ui
Diffstat (limited to 'config')
-rw-r--r--config/routes.rb5
1 files changed, 4 insertions, 1 deletions
diff --git a/config/routes.rb b/config/routes.rb
index 93da084b64a..46a05d9a1a9 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -871,7 +871,10 @@ Rails.application.routes.draw do
resources :badges, only: [:index] do
collection do
scope '*ref', constraints: { ref: Gitlab::Regex.git_reference_regex } do
- get :build, constraints: { format: /svg/ }
+ constraints format: /svg/ do
+ get :build
+ get :coverage
+ end
end
end
end