|
|
@ -21,7 +21,6 @@ class ZipsController < ApplicationController
|
|
|
|
|
|
|
|
|
|
|
|
file_name = filename_for_content_disposition(exercises.filename)
|
|
|
|
file_name = filename_for_content_disposition(exercises.filename)
|
|
|
|
send_file exercises.ex_zip, filename: file_name, type: 'application/zip'
|
|
|
|
send_file exercises.ex_zip, filename: file_name, type: 'application/zip'
|
|
|
|
Rails.logger.info("##################_______________________file_name___________1100101010010__________###########")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
rescue Exception => e
|
|
|
|
rescue Exception => e
|
|
|
|
normal_status(-1, e.message)
|
|
|
|
normal_status(-1, e.message)
|
|
|
|