Skip to content

Commit

Permalink
Revert change in guide example code
Browse files Browse the repository at this point in the history
In this example the User model is the default one from Laravel, not the default Twill user model or a custom Twill user model.
  • Loading branch information
ifox committed Feb 28, 2024
1 parent dbac7b5 commit d749a98
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ class Profile extends Model

public function user()
{
return $this->belongsTo(twillModel('user'));
return $this->belongsTo(User::class);
}
}

0 comments on commit d749a98

Please sign in to comment.