Rename FileHelper.is_image? -> FileHelper.is_supported_image?.

This commit is contained in:
Guo Xiang Tan
2018-09-10 10:22:45 +08:00
parent d59e635a77
commit e1b16e445e
11 changed files with 16 additions and 16 deletions

View File

@ -40,7 +40,7 @@ module ImportScripts
end
def html_for_upload(upload, display_filename)
if FileHelper.is_image?(upload.url)
if FileHelper.is_supported_image?(upload.url)
embedded_image_html(upload)
else
attachment_html(upload, display_filename)