diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2016-02-05 14:22:58 +0100 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2016-02-11 10:29:14 +0100 |
commit | 28c4c949a5965f0328bb94d7ab1a318c9e226ff7 (patch) | |
tree | 8b2173f6151e6fee42639f2280af60a2f70d9835 /config | |
parent | 14f928b73005300f419adb839cfd7bb06435abb8 (diff) | |
download | gitlab-ce-28c4c949a5965f0328bb94d7ab1a318c9e226ff7.tar.gz |
Improve CI status badge implementation
Diffstat (limited to 'config')
-rw-r--r-- | config/routes.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/config/routes.rb b/config/routes.rb index 30e42e197f4..152a04061f2 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -496,9 +496,9 @@ Rails.application.routes.draw do get( '/status/*id/badge', - to: 'commit#status', + to: 'commit#badge', constraints: { format: /png/ }, - as: :commit_status + as: :commit_badge ) end |