首页动态优化

This commit is contained in:
lizanle 2015-07-24 11:13:53 +08:00
parent ce16550545
commit a4734bb135
1 changed files with 0 additions and 1 deletions

View File

@ -744,7 +744,6 @@ class CoursesService
:better_students => better_students,
:active_students => active_students,
:message => "",
:dynamics => latest_course_dynamics,
:course_student_num=>course ? course.members.count : 0,
#:time_from_now=> distance_of_time_in_words(Time.now, latest_course_dynamic[:time].to_time) << "前",
:time_from_now=>time_from_now(latest_course_dynamic[:time].to_time), #.strftime('%Y-%m-%d %H:%M:%S').to_s,