예제 #1
0
 public function destroy($id)
 {
     Posts::destroy($id);
     return redirect()->route('home.get')->with('message', 'Deleted post');
 }