trabajo-afectivo/app/models/signature.rb

13 lines
321 B
Ruby
Raw Normal View History

2016-10-19 03:11:36 +00:00
# Copyright (C) 2012-2016 Zammad Foundation, http://zammad-foundation.org/
class Signature < ApplicationModel
include ChecksLatestChangeObserved
include ChecksHtmlSanitized
has_many :groups, after_add: :cache_update, after_remove: :cache_update
validates :name, presence: true
sanitized_html :body
end