summaryrefslogtreecommitdiff
path: root/app/views/fax_documents
diff options
context:
space:
mode:
authorStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-03-11 12:29:44 +0100
committerStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-03-11 12:29:44 +0100
commit3305624fc4b6de2dabaa292fa1480851ca141c96 (patch)
tree5422f0ce60092e047c109b5b03efdd5757ce5807 /app/views/fax_documents
parent64afdeacb1444b319abfcad6c9a8cfd656fe2dd4 (diff)
Fix the if.
Diffstat (limited to 'app/views/fax_documents')
-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 f860143..af5552d 100644
--- a/app/views/fax_documents/show.html.haml
+++ b/app/views/fax_documents/show.html.haml
@@ -66,5 +66,5 @@
.span12
= render :partial => 'shared/show_edit_destroy_part', :locals => { :parent => @fax_document.fax_account, :child => @fax_document }
-- if @fax_document.state == 'sending' || @fax_document.state == 'queued_for_sending'
+- if ['sending', 'queued_for_sending'].include? @fax_document.state
= subscribe_to "/fax_documents/#{@fax_document.id}" \ No newline at end of file