FEATURE: add webp and svg to known image formats
This commit is contained in:
parent
199896a607
commit
d926cc13ac
|
@ -28,7 +28,7 @@ class FileHelper
|
|||
private
|
||||
|
||||
def self.images
|
||||
@@images ||= Set.new ["jpg", "jpeg", "png", "gif", "tif", "tiff", "bmp"]
|
||||
@@images ||= Set.new ["jpg", "jpeg", "png", "gif", "tif", "tiff", "bmp", "svg", "webp"]
|
||||
end
|
||||
|
||||
def self.images_regexp
|
||||
|
|
Loading…
Reference in New Issue