Mailer preview correction: procedure has now multiple administrators

This commit is contained in:
Christian Lautier 2019-06-19 16:24:22 -10:00 committed by Pierre de La Morinerie
parent 8f6a1d1d10
commit 2393fa86be

View file

@ -29,11 +29,11 @@ class AdministrationMailerPreview < ActionMailer::Preview
private
def procedure_1
Procedure.new(id: 10, libelle: "Démarche des marches", administrateur: administrateur)
Procedure.new(id: 10, libelle: "Démarche des marches", administrateurs: [administrateur])
end
def procedure_2
Procedure.new(id: 20, libelle: "Démarche pieds", administrateur: administrateur)
Procedure.new(id: 20, libelle: "Démarche pieds", administrateurs: [administrateur])
end
def administrateur