Add missing dot for remote image (#7751)

lolsob-rspec
Yamagishi Kazutoshi 2018-06-07 03:49:39 +09:00 committed by Eugen Rochko
parent f0022a4ddc
commit 7ed181c41c
1 changed files with 5 additions and 1 deletions

View File

@ -69,7 +69,11 @@ module Remotable
return if type.nil?
type.extensions.first
extname = type.extensions.first
return if extname.nil?
".#{extname}"
end
def parse_content_type(content_type)