app/Http/Controllers/TagController.php
/**
     * Remove the specified resource from storage.
     *
     * @param  \App\Models\Tag  $tag
     * @return \Illuminate\Http\RedirectResponse|\Illuminate\Http\Response
     */
Remove the specified resource from storage.
Remove the specified resource from storage .
public function destroy(Tag $tag)
    {
        $tag->delete();
        return redirect()->route('tags.index')->with('message','Deleted Successfully');
    }
public function destroy ( Tag $ tag ) { $ tag -> delete ( ) ; return redirect ( ) -> route ( 'tags.index' ) -> with ( 'message' , 'Deleted Successfully' ) ; }
Remove the specified resource from storage.
Remove the specified resource from storage .
//