/** * Remove the specified resource from storage. * * @param int $id * @return \Illuminate\Http\Response */ public function destroy($slug) { $tag = Tag::where('slug', '=', $slug)->firstorFail(); $tag->delete(); return redirect('admin/tag')->with('message', ['class' => 'success', 'message' => 'Tag deleted.']); }