fix attestation template error case

This commit is contained in:
kara Diaby 2020-02-28 16:33:07 +01:00
parent e5ffb82821
commit 44a63ae1c3

View file

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