Showing
2 changed files
with
2 additions
and
2 deletions
| @@ -6,7 +6,7 @@ module Kanjai | @@ -6,7 +6,7 @@ module Kanjai | ||
| 6 | 6 | ||
| 7 | belongs_to :object, polymorphic: true, optional: true | 7 | belongs_to :object, polymorphic: true, optional: true |
| 8 | 8 | ||
| 9 | - IMAGE_MIME_TYPE = ['image/bmp', 'image/gif', 'image/jpeg', 'image/pipeg', 'image/svg+xml', 'image/png'] | 9 | + IMAGE_MIME_TYPE = ['image/bmp', 'image/gif', 'image/jpeg', 'image/pipeg', 'image/svg+xml', 'image/png', 'image/webp'] |
| 10 | PDF_MIME_TYPE = ['application/pdf'] | 10 | PDF_MIME_TYPE = ['application/pdf'] |
| 11 | 11 | ||
| 12 | # has_attached_file :image, | 12 | # has_attached_file :image, |