5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-06-15 14:12:20 +00:00

feat: permitir subir webp

This commit is contained in:
f 2023-04-10 18:22:49 -03:00
parent 2086ade1a7
commit 563060e113

View file

@ -37,6 +37,7 @@ module Sutty
.rescue_responses['Pundit::NotAuthorizedError'] = :forbidden
config.active_storage.variant_processor = :vips
config.active_storage.web_image_content_types << 'image/webp'
config.to_prepare do
# Load application's model / class decorators