fix attestation template error case
This commit is contained in:
parent
e5ffb82821
commit
44a63ae1c3
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ class Admin::AttestationTemplatesController < AdminController
|
|||
|
||||
render 'admin/attestation_templates/show', formats: [:pdf]
|
||||
else
|
||||
flash.alert = attestation_template.errors.full_messages.join('<br>')
|
||||
flash.alert = attestation.errors.full_messages.join('<br>')
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue