Sorry guys,
Solved it. Didn't realise I had a field called pattern and I was also eagerly loading with('pattern') confusing the whole thing!
Thanks tho.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.