public function destroy($id)
    {
        $tag = Tag::findOrFail($id);
        $tag->delete();

        Session::put('_delete-tag', trans('canvas::messages.delete_success', ['entity' => 'Tag']));

        return redirect()->route('canvas.admin.tag.index');
    }
public function destroy($id)
    {
        $tag = Tag::findOrFail($id);
        $tag->delete();

        Session::put('_delete-tag', trans('canvas::messages.delete_success', ['entity' => 'Tag']));

        return redirect()->route('canvas.admin.tag.index');
    }
public function destroy ( $ id ) { $ tag = Tag :: findOrFail ( $ id ) ; $ tag -> delete ( ) ; Session :: put ( '_delete-tag' , trans ( 'canvas::messages.delete_success' , [ 'entity' => 'Tag' ] ) ) ; return redirect ( ) -> route ( 'canvas.admin.tag.index' ) ; }
Delete the tag.

@param  int $id

@return \Illuminate\Http\RedirectResponse
Delete the tag .