diff --git a/config/initializers/shrine.rb b/config/initializers/shrine.rb index 2d654d9..0d873f8 100644 --- a/config/initializers/shrine.rb +++ b/config/initializers/shrine.rb @@ -10,4 +10,6 @@ Shrine.storages = { Shrine.plugin :activerecord Shrine.plugin :cached_attachment_data +Shrine.plugin :determine_mime_type, analyzer: :marcel +Shrine.plugin :pretty_location Shrine.plugin :restore_cached_data