Commit 6259ccffe0c4a6b2223ed9a1926e7791233d8288

Authored by Rodrigo Souto
1 parent 844000a3

rails3: change callback call on delayed_attachment_fu

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
lib/delayed_attachment_fu.rb
@@ -20,7 +20,7 @@ module DelayedAttachmentFu @@ -20,7 +20,7 @@ module DelayedAttachmentFu
20 save_to_storage 20 save_to_storage
21 @temp_paths.clear 21 @temp_paths.clear
22 @saved_attachment = nil 22 @saved_attachment = nil
23 - callback :after_attachment_saved 23 + run_callbacks :after_attachment_saved
24 end 24 end
25 25
26 def create_thumbnails 26 def create_thumbnails