Upstream sync

This commit is contained in:
Senad Uka
2020-06-24 04:48:12 +02:00
parent 6b0ea5b7df
commit 319cd89b29
36 changed files with 1049 additions and 27 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