src/Http/Controllers/CmsCategoryController.php
/**
     * Remove the specified resource from storage.
     *
     * @param  \App\CmsCategory  $category
     * @return \Illuminate\Http\Response
     */
Remove the specified resource from storage.
Remove the specified resource from storage .
public function destroy(CmsCategory $category)
    {
        $category->delete();
        return redirect(route('posts.categories.index'))->with('status', 'category deleted successfully');
    }
public function destroy ( CmsCategory $ category ) { $ category -> delete ( ) ; return redirect ( route ( 'posts.categories.index' ) ) -> with ( 'status' , 'category deleted successfully' ) ; }
Remove the specified resource from storage.
Remove the specified resource from storage .