/** * Remove the specified resource from storage. * * @param int $id * @return Response */ public function destroy($id) { post::find($id)->delete(); return redirect(url('artikel')); }
/** * Display the specified resource. * * @param int $id * @return \Illuminate\Http\Response */ public function show($id) { $post = post::find($id); return view('player.post.group_topic', ['post' => $post]); }