laravel-favorite
laravel-favorite copied to clipboard
user->favorite() function
Detailed description
How can the user->favorite() function get me an array of the favoriteable items? thank you!
I'm getting a collection with the favoriteable id as an index and didn't know how to change it :"(