aboutsummaryrefslogtreecommitdiffstats
path: root/activestorage/lib
diff options
context:
space:
mode:
authorYounes SERRAJ <younes.serraj@gmail.com>2019-04-21 19:07:22 +0200
committerYounes SERRAJ <younes.serraj@gmail.com>2019-04-21 19:07:22 +0200
commitbcf370d689673031073ba2ac5588afe41cc315c9 (patch)
tree7a1a30639368bbcea660424aeae6e694c0a64fdf /activestorage/lib
parent80b7d58f34a965fc0269ab7e0efa86d39b86be56 (diff)
downloadrails-bcf370d689673031073ba2ac5588afe41cc315c9.tar.gz
rails-bcf370d689673031073ba2ac5588afe41cc315c9.tar.bz2
rails-bcf370d689673031073ba2ac5588afe41cc315c9.zip
Allow ActiveStorage to generate variants of BMP images
Diffstat (limited to 'activestorage/lib')
-rw-r--r--activestorage/lib/active_storage/engine.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/activestorage/lib/active_storage/engine.rb b/activestorage/lib/active_storage/engine.rb
index fc75a8f816..cbb205627e 100644
--- a/activestorage/lib/active_storage/engine.rb
+++ b/activestorage/lib/active_storage/engine.rb
@@ -33,6 +33,7 @@ module ActiveStorage
image/jpeg
image/pjpeg
image/tiff
+ image/bmp
image/vnd.adobe.photoshop
image/vnd.microsoft.icon
)
@@ -56,6 +57,7 @@ module ActiveStorage
image/jpg
image/jpeg
image/tiff
+ image/bmp
image/vnd.adobe.photoshop
image/vnd.microsoft.icon
application/pdf