init project

This commit is contained in:
Jasder
2020-03-09 00:40:16 +08:00
commit 2937b2a94d
6549 changed files with 7215173 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
json.images_url @images_url
json.reps @rep_list
json.shixuns do
json.partial! 'shixuns/shixun', locals: {shixuns: @shixuns}
end
json.subjects do
json.partial! 'subjects/subject', locals: {subjects: @subjects}
end
# if current_laboratory.main_site?
# json.teachers do
# json.partial! 'users/user_small', users: @tea_users
# end
#
# json.students do
# json.partial! 'users/user_small', users: @stu_users
# end
# end

View File

@@ -0,0 +1,5 @@
json.keyword @fuzzy_searchs
json.total_count @total_count
json.shixuns do
json.partial! 'shixuns/shixun', locals: {shixuns: @shixuns}
end