I too had this problem especially when I was trying to attach directly from File::get(). If I rememb...
Agree. fatihtir, you should consider rewriting your query. Something just pops up from my head, to a...
Ah I actually misread the post. If you look at the API, links() actually belongs to class Paginator...
I think you would need to loop thru the collection as the relationship links() is actually bound to...
Just happened I have searched for this topic yesterday. Quoted from StackOverflow: http://stackoverf...
The Laravel portal for problem solving, knowledge sharing and community building.