diff --git a/app/models/comfy/cms/file.rb b/app/models/comfy/cms/file.rb index 19b05ce45..69ffbf5bc 100644 --- a/app/models/comfy/cms/file.rb +++ b/app/models/comfy/cms/file.rb @@ -56,7 +56,7 @@ def assign_label def process_attachment return if @file.blank? - attachment.attach(@file) + self.attachment = @file end end