top_banner增加first_category_url

dev_ec
cxt 5 years ago
parent d1f3534542
commit 693f22ee8d

@ -25,4 +25,5 @@ json.excellent @course.excellent
if @course.is_end == 0
json.days_remaining (@course.end_date.to_date - Time.now.to_date).to_i
end
json.first_category_url module_url(@course.none_hidden_course_modules.first, @course)

Loading…
Cancel
Save