diff --git a/app/views/libraries/_form.html.erb b/app/views/libraries/_form.html.erb index 0b5201e3..6a1afdef 100644 --- a/app/views/libraries/_form.html.erb +++ b/app/views/libraries/_form.html.erb @@ -73,7 +73,7 @@
- <% cover_url = cover_exists ? named_attachment_path(@library.cover.id, @library.cover.filename) : '' %> + <% cover_url = cover_exists ? download_attachment_path(@library.cover_id) : '' %>