app/Http/Controllers/CategoriesController.php
/**
     * Remove the specified resource from storage.
     *
     * @param  \App\Categories  $category
     * @return \Illuminate\Http\Response
     */
Remove the specified resource from storage.
Remove the specified resource from storage .
public function destroy(Categories $category)
    {
        $category->delete();
        return redirect('/categories');
    }
public function destroy ( Categories $ category ) { $ category -> delete ( ) ; return redirect ( '/categories' ) ; }
Remove the specified resource from storage.
Remove the specified resource from storage .