diff options
author | spag <spag@golwen.net> | 2013-01-28 11:55:45 +0100 |
---|---|---|
committer | spag <spag@golwen.net> | 2013-01-28 11:55:45 +0100 |
commit | 5d17b4b7e41a62d2c7f1dabae8ad7376211e921a (patch) | |
tree | 36a95b31ea5cb2e75a46131dfed23e2a6e9815ae /app/controllers | |
parent | 553115fd50ef3c35d961fa98abfd593386da5c94 (diff) |
thumbnails fixed
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 c49e0b9..ac43832 100644 --- a/app/controllers/trigger_controller.rb +++ b/app/controllers/trigger_controller.rb @@ -101,6 +101,7 @@ class TriggerController < ApplicationController File.delete(pdf_file); fax_document.tiff = nil fax_document.save + fax_document.render_thumbnails else fax_document.state = 'unsuccessful' fax_document.save |