Solved, user.php had an error, should have been:
public function owns(Apartment $apartment){ return $this->id == $apartment->user_id;
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community