Trying to call the relationship of imageable_type in polymorphic model

前端 未结 0 1736
难免孤独
难免孤独 2020-12-13 12:35

So I have images that are stored from a particular model (i.e. Thread, Reply, Comment).

I want to call to be able to call these values to get the path where the image

相关标签:
回答
  • 消灭零回复
提交回复
热议问题