MailTemplate: allow edition of all the new mails
This commit is contained in:
parent
c8f515832b
commit
9d710336b3
1 changed files with 2 additions and 1 deletions
|
@ -18,7 +18,8 @@ class Admin::MailTemplatesController < AdminController
|
|||
private
|
||||
|
||||
def mails
|
||||
[@procedure.initiated_mail]
|
||||
%w(initiated received closed refused without_continuation)
|
||||
.map { |name| @procedure.send(name + "_mail") }
|
||||
end
|
||||
|
||||
def find_the_right_mail type
|
||||
|
|
Loading…
Reference in a new issue