首页动态优化
This commit is contained in:
parent
ce16550545
commit
a4734bb135
|
@ -744,7 +744,6 @@ class CoursesService
|
||||||
:better_students => better_students,
|
:better_students => better_students,
|
||||||
:active_students => active_students,
|
:active_students => active_students,
|
||||||
:message => "",
|
:message => "",
|
||||||
:dynamics => latest_course_dynamics,
|
|
||||||
:course_student_num=>course ? course.members.count : 0,
|
: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=> 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,
|
:time_from_now=>time_from_now(latest_course_dynamic[:time].to_time), #.strftime('%Y-%m-%d %H:%M:%S').to_s,
|
||||||
|
|
Loading…
Reference in New Issue