Class: ImageUploader
- Inherits:
-
BaseUploader
- Object
- Shrine
- BaseUploader
- ImageUploader
- Defined in:
- lib/potassium/assets/app/uploaders/image_uploader.rb
Direct Known Subclasses
Instance Method Summary collapse
Instance Method Details
#allowed_types ⇒ Object
2 3 4 |
# File 'lib/potassium/assets/app/uploaders/image_uploader.rb', line 2 def allowed_types @allowed_types ||= %w[image/jpeg image/jpg image/png image/svg+xml image/gif].freeze end |