mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-11 06:46:47 +00:00
new forms added for courses
This commit is contained in:
@@ -31,6 +31,12 @@ class CourseEvent extends Resource
|
||||
'course.name',
|
||||
];
|
||||
|
||||
public static $with = [
|
||||
'course.lecturer.team',
|
||||
'venue',
|
||||
'createdBy',
|
||||
];
|
||||
|
||||
public function title()
|
||||
{
|
||||
return $this->from.' - '.$this->venue->name.' - '.$this->course->name;
|
||||
|
||||
Reference in New Issue
Block a user