How do I retrieve file upload urls stored in a another table?
I have a Tour model and an Upload model. The Upload models has a polymorphic relationship with Tours, Users, etc. How do I retrieve the upload urls from the uploads url when viewing tours? Thanks
3 Replies
Solution
You want to list all upload urls related to a tour while editing the tour?
Yeah, I want to render those urls. Thanks for sharing the resource. I'll check it out.