feat(emails): validate tags in notification emails
This commit is contained in:
parent
4bc30bf2f9
commit
dd4c1f2fac
14 changed files with 294 additions and 0 deletions
|
@ -15,6 +15,9 @@ module Mails
|
|||
|
||||
belongs_to :procedure, optional: false
|
||||
|
||||
validates :subject, tags: true
|
||||
validates :body, tags: true
|
||||
|
||||
SLUG = "received_mail"
|
||||
DEFAULT_TEMPLATE_NAME = "notification_mailer/default_templates/received_mail"
|
||||
DISPLAYED_NAME = I18n.t('activerecord.models.mail.received_mail.under_instruction')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue