5 lines
172 B
Ruby
5 lines
172 B
Ruby
class SwfAssetObserver < ActionController::Caching::Sweeper
|
|
def after_save(swf_asset)
|
|
Resque.enqueue(Item::UpdateTask, swf_asset.item.id) if swf_asset.item
|
|
end
|
|
end
|