Remove outdated lines from #download method

This commit is contained in:
Sebastian Serth
2021-10-10 12:24:05 +02:00
parent 601e1fab5c
commit 1403fc03c4

View File

@ -59,10 +59,6 @@ class SubmissionsController < ApplicationController
def download
raise Pundit::NotAuthorizedError if @embed_options[:disable_download]
# files = @submission.files.map{ }
# zipline( files, 'submission.zip')
# send_data(@file.content, filename: @file.name_with_extension)
id_file = create_remote_evaluation_mapping
stringio = Zip::OutputStream.write_buffer do |zio|