lib/meibo/academic_session.rb in meibo-0.12.0 vs lib/meibo/academic_session.rb in meibo-0.13.0
- old
+ new
@@ -58,7 +58,11 @@
end
def term?
type == TYPES[:term]
end
+
+ def parent
+ Meibo.current_roster.academic_sessions.find(parent_sourced_id)
+ end
end
end