/** * Remove the specified resource from storage. * * @param int $id * @return Response */ public function destroy(Blog $blog) { // Blog::destroy($blog->id); return redirect('blogs')->with('message', 'The blog has been deleted!'); }
/** * Remove the specified resource from storage. * * @param int $id * @return Response */ public function destroy($id) { Blog::destroy($id); }
/** * Remove the specified resource from storage. * * @param int $id * @return \Illuminate\Http\Response */ public function destroy($id) { // Blog::destroy($id); return redirect('blogsAdmin'); }
/** * Remove the specified resource from storage. * * @param int $id * @return \Illuminate\Http\Response */ public function destroy($id) { Blog::destroy($id); return redirect('blogs'); }