Skip to content

Commit d749a98

Browse files
committed
Revert change in guide example code
In this example the User model is the default one from Laravel, not the default Twill user model or a custom Twill user model.
1 parent dbac7b5 commit d749a98

File tree

1 file changed

+1
-1
lines changed
  • docs/content/2_guides/manage_frontend_user_profiles_from_twill

1 file changed

+1
-1
lines changed

docs/content/2_guides/manage_frontend_user_profiles_from_twill/Profile.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@ class Profile extends Model
1515

1616
public function user()
1717
{
18-
return $this->belongsTo(twillModel('user'));
18+
return $this->belongsTo(User::class);
1919
}
2020
}

0 commit comments

Comments
 (0)