From: Tom Hughes Date: Mon, 15 Jul 2019 23:24:37 +0000 (+0100) Subject: Allow BMP images to be transformed X-Git-Tag: live~3081 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/e3f37bb30cc77f0ffa1e8132f99ed59854641ca0 Allow BMP images to be transformed https://github.com/rails/rails/issues/35953 https://github.com/rails/rails/pull/36051 --- diff --git a/config/initializers/active_storage.rb b/config/initializers/active_storage.rb index cf53f7918..a246e62ac 100644 --- a/config/initializers/active_storage.rb +++ b/config/initializers/active_storage.rb @@ -1,4 +1,5 @@ Rails.application.config.active_storage.queue = :storage +Rails.application.config.active_storage.variable_content_types << "image/bmp" Rails.configuration.after_initialize do require "active_storage/service/s3_service"