Add some plugins to `shrine.rb`

This commit is contained in:
Luna 2021-09-14 12:18:11 -04:00
parent 6d06c2ec94
commit a605e29914
Signed by: luna
GPG Key ID: C8DA627859769F68
1 changed files with 2 additions and 0 deletions

View File

@ -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