1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-12-01 12:24:28 +01:00
fab-manager/app/models/project_step_image.rb

10 lines
266 B
Ruby
Raw Normal View History

# frozen_string_literal: true
# Images for the documentation of a project step
2015-05-05 03:10:25 +02:00
class ProjectStepImage < Asset
include ImageValidatorConcern
2015-05-05 03:10:25 +02:00
mount_uploader :attachment, ProjectImageUploader
validates :attachment, file_mime_type: { content_type: /image/ }
2015-05-05 03:10:25 +02:00
end