Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public function destroy($id)
- {
- $contact = Contact::find($id);
- $contact->delete();
- return redirect('/contacts')->with('success', 'Contact deleted!');
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement