Customise dashboards
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
class Course < ApplicationRecord
|
||||
has_many :lectures
|
||||
|
||||
# A course has a standalone connection to its recordings. To be shown they must be associated with a lecture but we
|
||||
# track those not associated with a lecture to avoid duplication.
|
||||
has_many :recordings
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user