object.rb 220 B

12345678
  1. # Copyright (C) 2012-2024 Zammad Foundation, https://zammad-foundation.org/
  2. class History::Object < ApplicationModel
  3. include ChecksHtmlSanitized
  4. validates :note, length: { maximum: 250 }
  5. sanitized_html :note
  6. end