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

@@ -53,7 +53,7 @@ class BroadcastsController < ApplicationController
def destroy_file
authorize Broadcast
file = ActiveStorage::Attachment.find(params[:file_id])
file.purge
file.destroy
update_files_section
end