|
|
@ -1,7 +1,6 @@
|
|
|
|
json.partial! "homework_commons/homework_public_navigation", locals: {homework: @homework, course: @course, user: @current_user}
|
|
|
|
json.partial! "homework_commons/homework_public_navigation", locals: {homework: @homework, course: @course, user: @current_user}
|
|
|
|
json.work_id @work.id
|
|
|
|
json.work_id @work.id
|
|
|
|
json.description @work.description
|
|
|
|
json.description @work.description
|
|
|
|
json.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
json.attachments @work.attachments do |atta|
|
|
|
|
json.attachments @work.attachments do |atta|
|
|
|
|
json.partial! "attachments/attachment_simple", locals: {attachment: atta, delete: @work.delete_atta(atta)}
|
|
|
|
json.partial! "attachments/attachment_simple", locals: {attachment: atta, delete: @work.delete_atta(atta)}
|
|
|
|