Mailer preview correction: procedure has now multiple administrators (#3977)
Correction du mailer_preview pour prendre en compte les administrateurs multiples
This commit is contained in:
commit
0cfbc75ca9
1 changed files with 2 additions and 2 deletions
|
@ -29,11 +29,11 @@ class AdministrationMailerPreview < ActionMailer::Preview
|
||||||
private
|
private
|
||||||
|
|
||||||
def procedure_1
|
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
|
end
|
||||||
|
|
||||||
def procedure_2
|
def procedure_2
|
||||||
Procedure.new(id: 20, libelle: "Démarche pieds", administrateur: administrateur)
|
Procedure.new(id: 20, libelle: "Démarche pieds", administrateurs: [administrateur])
|
||||||
end
|
end
|
||||||
|
|
||||||
def administrateur
|
def administrateur
|
||||||
|
|
Loading…
Reference in a new issue