summaryrefslogtreecommitdiff
path: root/app/views/fax_documents/show.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/fax_documents/show.html.haml')
-rw-r--r--app/views/fax_documents/show.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/fax_documents/show.html.haml b/app/views/fax_documents/show.html.haml
index 9925c2f..b8f3e9e 100644
--- a/app/views/fax_documents/show.html.haml
+++ b/app/views/fax_documents/show.html.haml
@@ -46,7 +46,7 @@
- if @fax_document.document?
%p
- %a{:href => @fax_document.document.url}
+ %a{:href => fax_account_fax_document_path(@fax_account, @fax_document, :format => :pdf), :method => :get}
%i{:class => 'icon-download'}
= t("fax_documents.index.actions.download_pdf") + " (#{number_to_human_size(@fax_document.document.size, :precision => 2)})"