aboutsummaryrefslogtreecommitdiffstats
path: root/activestorage
diff options
context:
space:
mode:
authorMaurice Kühlborn <mk@minimalweb.de>2018-11-15 12:11:36 +0100
committerMaurice Kühlborn <mk@minimalweb.de>2018-11-21 23:21:01 +0100
commit455a122ef0135bd133b51014467211bc9a0a11f4 (patch)
tree93ce302bee7b2db56ed04802eb9112cc795eb236 /activestorage
parentf6a16106fa124defcdf748514264098178173e83 (diff)
downloadrails-455a122ef0135bd133b51014467211bc9a0a11f4.tar.gz
rails-455a122ef0135bd133b51014467211bc9a0a11f4.tar.bz2
rails-455a122ef0135bd133b51014467211bc9a0a11f4.zip
Add progressive JPG to default variable content types
Diffstat (limited to 'activestorage')
-rw-r--r--activestorage/CHANGELOG.md4
-rw-r--r--activestorage/lib/active_storage/engine.rb1
2 files changed, 5 insertions, 0 deletions
diff --git a/activestorage/CHANGELOG.md b/activestorage/CHANGELOG.md
index f4e2826dc6..ba57315301 100644
--- a/activestorage/CHANGELOG.md
+++ b/activestorage/CHANGELOG.md
@@ -1,3 +1,7 @@
+* Add progressive JPG to default list of variable content types
+
+ *Maurice Kühlborn*
+
* Add `ActiveStorage.routes_prefix` for configuring generated routes.
*Chris Bisnett*
diff --git a/activestorage/lib/active_storage/engine.rb b/activestorage/lib/active_storage/engine.rb
index 7eb93b5e16..d51e806220 100644
--- a/activestorage/lib/active_storage/engine.rb
+++ b/activestorage/lib/active_storage/engine.rb
@@ -26,6 +26,7 @@ module ActiveStorage
image/gif
image/jpg
image/jpeg
+ image/pjpeg
image/vnd.adobe.photoshop
image/vnd.microsoft.icon
)