summaryrefslogtreecommitdiff
path: root/app/views/fax_documents/show.html.haml
diff options
context:
space:
mode:
authorspag <spag@golwen.net>2013-02-19 13:16:12 +0100
committerspag <spag@golwen.net>2013-02-19 13:16:12 +0100
commit2b3892ac24bb61c4814e0afe141bf53765fb1e4b (patch)
tree70baf3eca28ec49fa6edb54dae74122ffb77930f /app/views/fax_documents/show.html.haml
parentde845aa642e22b0ae08c5ce991bcdef9b656e079 (diff)
fax storage directory
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)})"