2 years ago

many to many working oneway only

Posted 2 years ago by arctushar
return Company::find(2)->users; 

working good but

return User::find(1)->companies;

giving error, what is the problem ?

I have Authentication through make:auth command

This is extension part of

Please sign in or create an account to participate in this conversation.