RelationsManager Table View/Edit actions
I have this model called
Inside the GroupRelationsManager I'm getting the associated
When I show the children of the relationship I'd like to be able to click
How can I modify whether the link will popup in a modal or if it is the default edit/view link that is in the main table for that resource, specially since I'm just inheriting the table resource from the parent:
Group that has a recursive parent/child relationship based on a parent_id. Inside the GroupRelationsManager I'm getting the associated
GroupResource which shows all its children, however I'm trying to figure out how to change the links for the view and edit actions on the relations table. When I show the children of the relationship I'd like to be able to click
Edit and go straight into the main editing of that specific Group rather than having it pop up in a modal, so that I can do a quick dive to either add more children/grandchildren or traverse the tree. How can I modify whether the link will popup in a modal or if it is the default edit/view link that is in the main table for that resource, specially since I'm just inheriting the table resource from the parent:
Solution
Just tested it on one of my apps, and looks like the only change is that the second arg to getUrl() needs to be wrapped as an array: