summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorspag <spag@golwen.net>2013-03-05 08:30:52 +0100
committerspag <spag@golwen.net>2013-03-05 08:30:52 +0100
commitfbbbb9dfe10ad8b25d075e00f4a149086b7c27a5 (patch)
tree8da8ba9b147db2b36cc82d5ffb625286c5180d5c /app
parent2f2276dc424196ace5d1859dfa3d3999926effce (diff)
send fax notification
Diffstat (limited to 'app')
-rw-r--r--app/controllers/trigger_controller.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/controllers/trigger_controller.rb b/app/controllers/trigger_controller.rb
index 6cc9fa7..8e70ef2 100644
--- a/app/controllers/trigger_controller.rb
+++ b/app/controllers/trigger_controller.rb
@@ -84,6 +84,7 @@ class TriggerController < ApplicationController
fax_document.state = 'successful'
if fax_document.save
+ Notifications.new_fax(fax_document).deliver
begin
File.delete(pdf_file)
rescue => e