Add missing dot for remote image (#7751)
parent
f0022a4ddc
commit
7ed181c41c
|
@ -69,7 +69,11 @@ module Remotable
|
||||||
|
|
||||||
return if type.nil?
|
return if type.nil?
|
||||||
|
|
||||||
type.extensions.first
|
extname = type.extensions.first
|
||||||
|
|
||||||
|
return if extname.nil?
|
||||||
|
|
||||||
|
".#{extname}"
|
||||||
end
|
end
|
||||||
|
|
||||||
def parse_content_type(content_type)
|
def parse_content_type(content_type)
|
||||||
|
|
Loading…
Reference in New Issue