app/Http/Controllers/HomeController.php
/**
     * Show the application dashboard.
     *
     * @return \Illuminate\Http\Response
     */
Show the application dashboard.
@return \Illuminate\Http\Response
Show the application dashboard . @return \ Illuminate \ Http \ Response
public function index()
    {
        $data['orders'] = Order::all();
        return view('home', $data);
    }
public function index ( ) { $ data [ 'orders' ] = Order :: all ( ) ; return view ( 'home' , $ data ) ; }
Show the application dashboard.
Show the application dashboard .