Skip to content

Commit

Permalink
Merge pull request #866 from bopm/bopm-patch-1
Browse files Browse the repository at this point in the history
Fixes chicken or the egg problem
  • Loading branch information
galetahub authored Oct 3, 2019
2 parents ab55dff + 3b9bfb3 commit bfe4734
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/ckeditor/backend/active_storage.rb
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,9 @@ def apply_data
storage_data.attach(data)
end

self.data_file_name = blob.filename
self.data_content_type = blob.content_type
self.data_file_size = blob.byte_size
self.data_file_name = storage_data.blob.filename
self.data_content_type = storage_data.blob.content_type
self.data_file_size = storage_data.blob.byte_size
end

end
Expand Down

0 comments on commit bfe4734

Please sign in to comment.