|
|
|
@ -1291,8 +1291,7 @@ class ExercisesController < ApplicationController
|
|
|
|
|
normal_status(0,"正在下载中")
|
|
|
|
|
else
|
|
|
|
|
set_export_cookies
|
|
|
|
|
content[:disposition] = "inline"
|
|
|
|
|
render pdf: 'exercise_export/blank_exercise', filename: filename_, stylesheets: stylesheets, disposition: 'inline'
|
|
|
|
|
render pdf: 'exercise_export/blank_exercise', filename: filename_, stylesheets: stylesheets, disposition: 'inline', type:"pdf_attachment.content_type"
|
|
|
|
|
end
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|