lib/meibo/course.rb in meibo-0.13.0 vs lib/meibo/course.rb in meibo-0.14.0

- old
+ new

@@ -47,7 +47,11 @@ end def school_year Meibo.current_roster.academic_sessions.find(school_year_sourced_id) end + + def classes + Meibo.current_roster.classes.where(course_sourced_id: sourced_id) + end end end