Nested polymorphic model retrieve top parent id

后端 未结 0 708
有刺的猬
有刺的猬 2021-01-30 11:51

I\'m struggling with this "simple" problem :

A summary have pages and chapters. Chapters have pages or chapters

For this, I have 3 models like so :

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