-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Description
It could be useful to define a pivot model for the menuable table to allow easy traversal between linkables and menus
Potential Enhancement:
What if we renamed this to
navs(or something else) and made it a custom morph pivot likeNav, so you can at least go backward from a menu to the things that reference it.Ie:
$menu->navs->first()->menuableOtherwise you get forced into knowing in advance the Content types it links to in order to do something like
$menu->pages.If Menu instances dont need to be linked to multiple pieces of Menuable content/objects, then we could always just put the menuable morphs on the
menustable.
Originally posted by @kfriars in #2 (comment)
Metadata
Metadata
Assignees
Labels
No labels