mirror of
https://github.com/internetee/registry.git
synced 2025-08-04 00:42:04 +02:00
Allow explicit reason for force delete mail template
This commit is contained in:
parent
8a046b59bf
commit
38cefe7255
5 changed files with 13 additions and 6 deletions
|
@ -10,6 +10,9 @@ module Domains
|
|||
boolean :notify_by_email,
|
||||
default: false,
|
||||
description: 'Do we need to send email notification'
|
||||
string :reason,
|
||||
default: nil,
|
||||
description: 'Which mail template to use explicitly'
|
||||
|
||||
validates :type, inclusion: { in: %i[fast_track soft] }
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue