Merge pull request #14 from sgmap/customizable-emails
Customizable emails
This commit is contained in:
commit
3c6ae2d005
38 changed files with 722 additions and 143 deletions
|
@ -0,0 +1,9 @@
|
|||
class InitMailValidatedForAllProcedure < ActiveRecord::Migration[5.0]
|
||||
def change
|
||||
Procedure.all.each do |p|
|
||||
unless p.mail_validated
|
||||
p.mail_templates << MailValidated.create
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue