events renamed to course events

This commit is contained in:
Benjamin Takats
2022-12-14 11:23:35 +01:00
parent 7dede68675
commit 7f8117ff5c
17 changed files with 99 additions and 89 deletions

View File

@@ -50,7 +50,7 @@ class City extends Model
return $this->hasMany(Venue::class);
}
function events()
function courseEvents()
{
return $this->hasManyThrough(CourseEvent::class, Venue::class);
}