Commit 43052ab39f458b31e69bfd17dd1ad086769a7770
Committed by
Antonio Terceiro
1 parent
52e9c1ac
Exists in
master
and in
28 other branches
Enabling ferret after create thumbnails
(ActionItem1661)
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
lib/create_thumbnails_job.rb
@@ -3,5 +3,6 @@ class CreateThumbnailsJob < Struct.new(:class_name, :file_id) | @@ -3,5 +3,6 @@ class CreateThumbnailsJob < Struct.new(:class_name, :file_id) | ||
3 | Article.disable_ferret # acts_as_ferret sucks | 3 | Article.disable_ferret # acts_as_ferret sucks |
4 | file = class_name.constantize.find(file_id) | 4 | file = class_name.constantize.find(file_id) |
5 | file.create_thumbnails | 5 | file.create_thumbnails |
6 | + Article.enable_ferret # acts_as_ferret sucks | ||
6 | end | 7 | end |
7 | end | 8 | end |