diff options
author | Peter Kozak <spag@golwen.net> | 2013-03-11 07:41:08 -0400 |
---|---|---|
committer | Peter Kozak <spag@golwen.net> | 2013-03-11 07:41:08 -0400 |
commit | 7b9f4ef95ba384fac5915be168f97b9e47411906 (patch) | |
tree | 940e5b570f08884fa3fb32c50522896705f42541 | |
parent | 4496289be82f142ed9e739470c3a96edf5f2ec4e (diff) | |
parent | 766fd073042d00b588955734daa91df3f7be8bab (diff) |
Merge branch 'develop' of github.com:amooma/GS5 into develop
-rw-r--r-- | app/views/fax_documents/show.html.haml | 2 |
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 |