app/Http/Controllers/DriverController.php
/**
     * Remove the specified resource from storage.
     *
     * @param  \App\Driver  $driver
     * @return \Illuminate\Http\Response
     */
Remove the specified resource from storage.
Remove the specified resource from storage .
public function destroy(Driver $driver)
    {
        $driver->delete();
        return redirect()->route('driver.index');
    }
public function destroy ( Driver $ driver ) { $ driver -> delete ( ) ; return redirect ( ) -> route ( 'driver.index' ) ; }
Remove the specified resource from storage.
Remove the specified resource from storage .