fix MR comments

This commit is contained in:
Bilal
2020-07-24 14:57:35 +02:00
parent f8bdc5bce5
commit 7ef27d4c1d
8 changed files with 14 additions and 16 deletions

View File

@@ -37,7 +37,7 @@ class BroadcastsChannel < ApplicationCable::Channel
end
def self.broadcast_file_upload_updates(broadcast, files, pagination_content)
files_content = ApplicationController.render partial: "broadcasts/file", locals: { broadcast: broadcast }, collection: files
files_content = ApplicationController.render partial: "broadcasts/file", collection: files
broadcast_to broadcast, {
event: :file_upload_update,