app/Http/Controllers/Admin/RouteController.php
/**
     * Show the form for editing the specified resource.
     *
     * @param  \App\Route  $route
     * @return \Illuminate\Http\Response
     */
Show the form for editing the specified resource.
Show the form for editing the specified resource .
public function edit(Route $route)
    {
        $terminals = Auth::user()->company()->terminals()->get();
        return view('admin.routes.edit', compact('route', 'terminals'));
    }
public function edit ( Route $ route ) { $ terminals = Auth :: user ( ) -> company ( ) -> terminals ( ) -> get ( ) ; return view ( 'admin.routes.edit' , compact ( 'route' , 'terminals' ) ) ; }
Show the form for editing the specified resource.
Show the form for editing the specified resource .
//