summaryrefslogtreecommitdiff
path: root/app/controllers
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/trigger_controller.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/controllers/trigger_controller.rb b/app/controllers/trigger_controller.rb
index db379f9..0de9223 100644
--- a/app/controllers/trigger_controller.rb
+++ b/app/controllers/trigger_controller.rb
@@ -110,6 +110,10 @@ class TriggerController < ApplicationController
end
if errors.count == 0
+ # Reload FaxDocument#show
+ #
+ PrivatePub.publish_to("/fax_documents/#{fax_document.id}", "location.reload();")
+
# Indicate a new fax in the navigation bar.
#
if fax_document.fax_accountable.class == User