diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2016-08-11 14:58:57 +0300 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2016-08-15 15:39:46 +0300 |
commit | 7b840c8483e2fe17a6c04474323cfb57c3c8a7d3 (patch) | |
tree | 5c1ead65acae60d69b24550821b5b88c0271c978 /config/routes.rb | |
parent | cdb0caaf320a67f193a7ab9faac9271a625d8b98 (diff) |
Add coverage report badge metadata class
Diffstat (limited to 'config/routes.rb')
-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 9a98fab15a3..cf6773917cf 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -869,7 +869,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 |