fix MR comments
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user