mirror of
https://github.com/docusealco/docuseal
synced 2026-11-14 15:52:32 -05:00
do not use image variants deletion
This commit is contained in:
1 parent
b40a047190
commit
9d9a955149
1 file changed
+6
@@ -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
|
||||||
|
|||||||
Reference in new issue
Block a user