add fonction empty for cerfa
This commit is contained in:
parent
e2ff64a119
commit
1f960a4b43
3 changed files with 20 additions and 0 deletions
|
@ -2,4 +2,8 @@ class Cerfa < ActiveRecord::Base
|
|||
belongs_to :dossier
|
||||
|
||||
mount_uploader :content, CerfaUploader
|
||||
|
||||
def empty?
|
||||
content.blank?
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue