app/Http/Controllers/BranchesController.php
/**
     * Remove the specified resource from storage.
     *
     * @param  \App\Models\Branches  $branches
     * @return \Illuminate\Http\Response
     */
Remove the specified resource from storage.
Remove the specified resource from storage .
public function destroy($id)
    {
        $branch = Branches::find($id);
        Log::info($branch);
        $branch->delete();
        return redirect()->route('branches.index');
    }
public function destroy ( $ id ) { $ branch = Branches :: find ( $ id ) ; Log :: info ( $ branch ) ; $ branch -> delete ( ) ; return redirect ( ) -> route ( 'branches.index' ) ; }
Remove the specified resource from storage.
Remove the specified resource from storage .