4 months ago

How to detach (many to many ) from resources route

Posted 4 months ago by mostafalaravel


I would like to detach relationship between Permission and Group ; for that I have two modals (Permission , Group).

Also I have two resources Controllers: PermissionController and GroupController.

My question where to make the detach() statement in which Controller method(destroy, update ..) and with which methode (delete, patch ....)?


Please sign in or create an account to participate in this conversation.