PCqiandao
cxt 5 years ago
parent 853f999923
commit 5df56b2d85

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

Loading…
Cancel
Save