app/Http/Controllers/Admin/BusController.php
/**
     * Show the form for editing the specified resource.
     *
     * @param  \App\Bus  $bus
     * @return \Illuminate\Http\Response
     */
Show the form for editing the specified resource.
Show the form for editing the specified resource .
public function edit(Bus $bus)
    {
        $bus_classes = Auth::user()->company()->busClasses;
        return view('admin.buses.edit', compact('bus', 'bus_classes'));
    }
public function edit ( Bus $ bus ) { $ bus_classes = Auth :: user ( ) -> company ( ) -> busClasses ; return view ( 'admin.buses.edit' , compact ( 'bus' , 'bus_classes' ) ) ; }
Show the form for editing the specified resource.
Show the form for editing the specified resource .
//