do not use image variants deletion

pull/217/head
Pete Matsyburka 2 years ago
parent b40a047190
commit 9d9a955149

@ -10,6 +10,12 @@ ActiveSupport.on_load(:active_storage_attachment) do
end end
end end
ActiveSupport.on_load(:active_storage_blob) do
def delete
service.delete(key)
end
end
ActiveStorage::LogSubscriber.detach_from(:active_storage) if Rails.env.production? ActiveStorage::LogSubscriber.detach_from(:active_storage) if Rails.env.production?
Rails.configuration.to_prepare do Rails.configuration.to_prepare do

Loading…
Cancel
Save