diff options
Diffstat (limited to 'lib/gitlab/workhorse.rb')
-rw-r--r-- | lib/gitlab/workhorse.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/gitlab/workhorse.rb b/lib/gitlab/workhorse.rb index e3b1cb3d016..8a5acd242d9 100644 --- a/lib/gitlab/workhorse.rb +++ b/lib/gitlab/workhorse.rb @@ -156,10 +156,11 @@ module Gitlab ] end - def send_scaled_image(location, width) + def send_scaled_image(location, width, content_type) params = { 'Location' => location, - 'Width' => width + 'Width' => width, + 'ContentType' => content_type } [ |