Laravel 10 Eloquent belongsTo not working
Using Laravel 10 and trying to get a belongsTo relationship to work and it's not working. Basically a Fragment has one FragmentGroup while a FragmentGroup has many Fragments. I'm using it this way and it's giving me null: $fragment =…