diff --git a/app/views/tpi/publications/show.html.erb b/app/views/tpi/publications/show.html.erb index 92fbb2461..c3967a924 100644 --- a/app/views/tpi/publications/show.html.erb +++ b/app/views/tpi/publications/show.html.erb @@ -25,7 +25,7 @@ <%= @publication.summary&.html_safe %> - <%= link_to 'Download file', tpi_publication_download_file_path(slug: @publication.slug), target: '_blank', class: 'button is-primary' %> + <%= link_to 'Download file', tpi_publication_download_file_path(slug: @publication.slug, format: format_of(@publication.file)), target: '_blank', class: 'button is-primary' %>