diff --git a/app/models/communication/website/post.rb b/app/models/communication/website/post.rb index 222d9a439819617e39887d149f9a556cfc87a722..353e781e24be9ebcc021fa2e50d9c15ef1038dce 100644 --- a/app/models/communication/website/post.rb +++ b/app/models/communication/website/post.rb @@ -77,7 +77,7 @@ class Communication::Website::Post < ApplicationRecord end def git_destroy_dependencies(website) - explicit_active_storage_blobs + [self] + explicit_active_storage_blobs end def to_s