git commit "add user reservations and complete profile features"
This commit is contained in:
@@ -66,4 +66,8 @@ class Tour extends Model
|
||||
{
|
||||
return $this->morphMany(Favorite::class, 'favoritable');
|
||||
}
|
||||
public function reservations()
|
||||
{
|
||||
return $this->morphMany(Reservation::class, 'reservable');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user