Merge pull request #4846 from betagouv/fix/4814-fix-bug-error
fix/4814-fix-bug-error
This commit is contained in:
commit
a8ccd53c8b
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ class Admin::AttestationTemplatesController < AdminController
|
||||||
|
|
||||||
render 'admin/attestation_templates/show', formats: [:pdf]
|
render 'admin/attestation_templates/show', formats: [:pdf]
|
||||||
else
|
else
|
||||||
flash.alert = attestation_template.errors.full_messages.join('<br>')
|
flash.alert = attestation.errors.full_messages.join('<br>')
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue