Compare commits
1 Commits
3b5a2aa1e4
...
83c3ad6e5e
Author | SHA1 | Date | |
---|---|---|---|
83c3ad6e5e |
@ -40,11 +40,5 @@ public function requestDestroy(Request $request)
|
|||||||
return redirect()->route('customers.show', [$contact->customer->id, 'contacts'])->with('status', 'Contact deleted successfully');
|
return redirect()->route('customers.show', [$contact->customer->id, 'contacts'])->with('status', 'Contact deleted successfully');
|
||||||
}
|
}
|
||||||
|
|
||||||
public function destroy($id)
|
public function destroy($id) {}
|
||||||
{
|
|
||||||
// $contact = Contact::findOrFail($id);
|
|
||||||
// $contact->delete();
|
|
||||||
//
|
|
||||||
// return redirect()->route('customers.show', $contact->customer()->iud)->with('status', 'Contact deleted successfully');
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user