PCqiandao
cxt 5 years ago
parent 7d2fe47def
commit 853f999923

@ -1,5 +1,5 @@
json.attendances @attendances do |attendance| json.attendances @attendances do |attendance|
json.(attendance, :id, :name, :normal_count, :all_count, :mode) json.(attendance, :id, :name, :normal_count, :all_count, :mode, :code)
json.author do json.author do
user = attendance.user user = attendance.user
json.user_name user.real_name json.user_name user.real_name

Loading…
Cancel
Save