I've done this for the moment, but surely there's a nicer way?
if ($this->favourites()->where('favouritable_id','=',$user_id)->count())
return true;
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community