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

12 lines
344 B

6 years ago
json.tags @tags do |tag|
json.tag_id tag.id
json.tag_name tag.name
end
json.shixun_list do
json.partial! 'shixuns/choose_shixun', locals: {shixuns: @shixuns}
end
json.shixuns_count @shixuns_count
json.partial! 'homework_commons/second_category', locals: {main_catrgory: @main_catrgory, homework_category: @homework_category}