summaryrefslogtreecommitdiff
path: root/app/controllers
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-05-20 11:26:20 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-05-20 11:26:20 +0300
commit74935080d6580c0ee9a7f7d93fd65542e1643694 (patch)
treef20042140f63cf65f951c2aa8f5028abcb0c9ca7 /app/controllers
parent1f82dda74c6e24b6ad0a6f91312a5da72a93537c (diff)
downloadgitlab-ci-74935080d6580c0ee9a7f7d93fd65542e1643694.tar.gz
Use retina-ready standard badges
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/projects_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/projects_controller.rb b/app/controllers/projects_controller.rb
index 4c4d34e..ad5b120 100644
--- a/app/controllers/projects_controller.rb
+++ b/app/controllers/projects_controller.rb
@@ -99,7 +99,7 @@ class ProjectsController < ApplicationController
def badge
image = ImageForBuildService.new.execute(@project, params)
- send_file image.path, filename: image.name, disposition: 'inline'
+ send_file image.path, filename: image.name, disposition: 'inline', type:"image/svg+xml"
end
def toggle_shared_runners