How do you set the relationship name, when creating nested records?

I've got a model EntityAlias nested in Entity. I've also got a AliasesRelationManager. Everything works except the "Create". When I attempt to create a record, not only do I have to manually select the entity it's for (even though I've come from that page), but when trying to save, it's guessing the relationship name. I need to call ParentResourceRegistration::relationship() but I cannot for the life me figure out how to.
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?