Remove duplicated attachments
This commit is contained in:
parent
a3a47b8959
commit
8fcf1353f3
15 changed files with 59 additions and 173 deletions
|
@ -50,8 +50,6 @@ module Users
|
|||
def attestation
|
||||
if dossier.attestation.pdf.attached?
|
||||
redirect_to url_for(dossier.attestation.pdf)
|
||||
elsif dossier.attestation.pdf_active_storage.attached?
|
||||
redirect_to url_for(dossier.attestation.pdf_active_storage)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue