diff options
author | spag <spag@golwen.net> | 2013-03-05 08:30:52 +0100 |
---|---|---|
committer | spag <spag@golwen.net> | 2013-03-05 08:30:52 +0100 |
commit | fbbbb9dfe10ad8b25d075e00f4a149086b7c27a5 (patch) | |
tree | 8da8ba9b147db2b36cc82d5ffb625286c5180d5c /app/controllers | |
parent | 2f2276dc424196ace5d1859dfa3d3999926effce (diff) |
send fax notification
Diffstat (limited to 'app/controllers')
-rw-r--r-- | app/controllers/trigger_controller.rb | 1 |
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 |