app/Http/Controllers/OrderController.php
/**
     * Display a listing of the resource.
     *
     * @return \Illuminate\Http\Response
     */
Display a listing of the resource.
@return \Illuminate\Http\Response
Display a listing of the resource . @return \ Illuminate \ Http \ Response
public function index()
    {
       $order = OrderModel:: all();
       return view('order/index', compact('order'));
    }
public function index ( ) { $ order = OrderModel :: all ( ) ; return view ( 'order/index' , compact ( 'order' ) ) ; }
Display a listing of the resource.
Display a listing of the resource .