public function clearRouteAssociation() { foreach ($this->routes as $route) { $route->permission()->dissociate(); $route->save(); } $this->save(); }