diff options
author | Douwe Maan <douwe@selenight.nl> | 2016-08-15 17:20:56 -0500 |
---|---|---|
committer | Douwe Maan <douwe@selenight.nl> | 2016-08-15 17:20:56 -0500 |
commit | 1ba2ef4fdafa26d2301f85bee2e38061c0dddd93 (patch) | |
tree | 7e401879596a39f365dd21670af8b3a370e75df0 /config | |
parent | 882f97e4e3f23fc28752da3644a62575d2cb84e1 (diff) | |
parent | 931eadaa5e8e0063c7d8f90b5863789ffcd33b30 (diff) | |
download | gitlab-ce-1ba2ef4fdafa26d2301f85bee2e38061c0dddd93.tar.gz |
Merge branch 'master' into mc-ui
Diffstat (limited to 'config')
-rw-r--r-- | config/routes.rb | 5 |
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 |