app/Http/Controllers/Admin/RouteController.php
/**
     * Show the form for creating a new resource.
     *
     * @return \Illuminate\Http\Response
     */
Show the form for creating a new resource.
@return \Illuminate\Http\Response
Show the form for creating a new resource . @return \ Illuminate \ Http \ Response
public function create()
    {
        $terminals = Auth::user()->company()->terminals()->orderBy('terminal_name')->get();
        return view('admin.routes.create', compact('terminals'));
    }
public function create ( ) { $ terminals = Auth :: user ( ) -> company ( ) -> terminals ( ) -> orderBy ( 'terminal_name' ) -> get ( ) ; return view ( 'admin.routes.create' , compact ( 'terminals' ) ) ; }
Show the form for creating a new resource.
Show the form for creating a new resource .
//