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/graduation_works/new.json.jbuilder

10 lines
335 B

6 years ago
json.partial! "graduation_tasks/public_navigation", locals: {course: @course, graduation: @task}
json.task_type @task.task_type
json.user_name @user.real_name
if @task.task_type == 2
json.user_id @user.id
json.user_student_id @user.student_id
json.group_name @course.course_member(@user.id).try(:course_group_name)
end