MailTemplate: allow edition of all the new mails

This commit is contained in:
Simon Lehericey 2017-03-06 15:44:38 +01:00
parent c8f515832b
commit 9d710336b3

View file

@ -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