How to detach (many to many ) from resources route

Posted 1 week ago by mostafalaravel

Hello,

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 ....)?

Thanks

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