-
|
Hi, I have some problem with Jetstream Inertia after I move Team, Membership and User model to another directory. And I try view the {host}/user/profile url I take
How could I solve it? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
Hooray! Solved I was find. in JetstreamServiceProvider method boot override the |
Beta Was this translation helpful? Give feedback.
-
|
I suggest using the provided Jetstream::useTeamModel(Team::class);
Jetstream::useUserModel(User::class);
Jetstream::useMembershipModel(Membership::class);
Jetstream::useTeamInvitationModel(TeamInvitation::class); |
Beta Was this translation helpful? Give feedback.
Hooray! Solved I was find.
in JetstreamServiceProvider method boot override the
Laravel\Jetstream\Jetstream::teamModel = Team::class;