Upstream sync

This commit is contained in:
Senad Uka
2020-06-22 14:14:25 +02:00
parent b924b99762
commit 072142811f
13 changed files with 267 additions and 2 deletions

View File

@@ -0,0 +1,9 @@
module SecondGuardianPhotoable
extend ActiveSupport::Concern
included do
has_one_attached :guardian_2_photo
validates :guardian_2_photo, content_type: ["image/png", "image/jpeg"]
end
end