Skip to content

Commit

Permalink
Merge pull request #4 from restarone/fixFileUpdate
Browse files Browse the repository at this point in the history
fix file update
  • Loading branch information
donrestarone authored Jun 16, 2021
2 parents b3fadd4 + c556027 commit 53ad319
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 53ad319

Please sign in to comment.