You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
educoder/app/views/homework_commons/reference_answer.json.jbuilder

12 lines
547 B

6 years ago
json.partial! "homework_public_navigation", locals: {homework: @homework, course: @course, user: @current_user}
json.partial! "homework_btn_check", locals: {identity: @user_course_identity, homework: @homework, user: @current_user}
json.partial! "student_btn_check", locals: {identity: @user_course_identity, homework: @homework, work: @work}
json.reference_answer @homework.reference_answer
# 附件
json.attachments @attachments do |attachment|
json.partial! "attachments/attachment_simple", locals: {attachment: attachment}
end