2021-06-01 12:20:20 +00:00
|
|
|
# Copyright (C) 2012-2021 Zammad Foundation, http://zammad-foundation.org/
|
2019-09-27 07:22:16 +00:00
|
|
|
|
|
|
|
class Link::Object < ApplicationModel
|
2021-04-12 09:49:26 +00:00
|
|
|
include ChecksHtmlSanitized
|
|
|
|
|
2019-09-27 07:22:16 +00:00
|
|
|
validates :name, presence: true
|
2021-04-12 09:49:26 +00:00
|
|
|
|
|
|
|
sanitized_html :note
|
2019-09-27 07:22:16 +00:00
|
|
|
end
|