Skip to content

Commit

Permalink
fix file update
Browse files Browse the repository at this point in the history
  • Loading branch information
donrestarone committed Jun 16, 2021
1 parent b3fadd4 commit c556027
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/comfy/cms/file.rb
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def assign_label

def process_attachment
return if @file.blank?
attachment.attach(@file)
self.attachment = @file
end

end

0 comments on commit c556027

Please sign in to comment.