diff options
author | Janko Marohnić <janko.marohnic@gmail.com> | 2018-04-22 23:40:42 +0200 |
---|---|---|
committer | Janko Marohnić <janko.marohnic@gmail.com> | 2018-04-22 23:40:42 +0200 |
commit | f01e2498905ec057e6c8872d15f8dea18d4cbde8 (patch) | |
tree | 1bea7946fd93571a3e12841409179571b05495ce /activestorage/lib/active_storage | |
parent | ca1296858788780dcb5497e86f66b56170cca279 (diff) | |
download | rails-f01e2498905ec057e6c8872d15f8dea18d4cbde8.tar.gz rails-f01e2498905ec057e6c8872d15f8dea18d4cbde8.tar.bz2 rails-f01e2498905ec057e6c8872d15f8dea18d4cbde8.zip |
Rename ActiveStorage.processor to .variant_processor
Diffstat (limited to 'activestorage/lib/active_storage')
-rw-r--r-- | activestorage/lib/active_storage/engine.rb | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/activestorage/lib/active_storage/engine.rb b/activestorage/lib/active_storage/engine.rb index 02719e4173..99588cdd4b 100644 --- a/activestorage/lib/active_storage/engine.rb +++ b/activestorage/lib/active_storage/engine.rb @@ -43,12 +43,12 @@ module ActiveStorage initializer "active_storage.configs" do config.after_initialize do |app| - ActiveStorage.logger = app.config.active_storage.logger || Rails.logger - ActiveStorage.queue = app.config.active_storage.queue - ActiveStorage.processor = app.config.active_storage.processor || :mini_magick - ActiveStorage.previewers = app.config.active_storage.previewers || [] - ActiveStorage.analyzers = app.config.active_storage.analyzers || [] - ActiveStorage.paths = app.config.active_storage.paths || {} + ActiveStorage.logger = app.config.active_storage.logger || Rails.logger + ActiveStorage.queue = app.config.active_storage.queue + ActiveStorage.variant_processor = app.config.active_storage.variant_processor || :mini_magick + ActiveStorage.previewers = app.config.active_storage.previewers || [] + ActiveStorage.analyzers = app.config.active_storage.analyzers || [] + ActiveStorage.paths = app.config.active_storage.paths || {} ActiveStorage.variable_content_types = app.config.active_storage.variable_content_types || [] ActiveStorage.content_types_to_serve_as_binary = app.config.active_storage.content_types_to_serve_as_binary || [] |