« first day (241 days earlier)      last day (16 days later) » 

6:33 AM
@DavidRichied If the models has a relationship and you've set it up correctly then it might be as simple as doing $user->products()->create($product);
@ffuentes Broadcasting might suit your needs: laravel.com/docs/5.8/broadcasting
@SujeetAgrahari I would suggest that you don't use an image for that, and instead use CSS. :)
 
 
12 hours later…
6:57 PM
@LinusJuhlin That is true. Unfortunately, the method for creating a new item was pretty long, and I did not want to include all of that logic in the UserController->store method. I found out that services work perfectly in this case (laracasts.com/discuss/channels/laravel/…). Thanks for the response.
 

« first day (241 days earlier)      last day (16 days later) »