Example #1
0
 /**
  * Remove the specified resource from storage.
  *
  * @param  int  $id
  * @return \Illuminate\Http\Response
  */
 public function destroy($id)
 {
     $timeline = Timeline::find($id);
     $timeline->delete();
     $timelines = Timeline::all();
     return view('timeline/liste', ['timelines' => $timelines]);
 }