app/Http/Controllers/HomeController.php
/**
     * Show the application dashboard.
     *
     * @return \Illuminate\Contracts\Support\Renderable
     */
Show the application dashboard.
@return \Illuminate\Contracts\Support\Renderable
Show the application dashboard . @return \ Illuminate \ Contracts \ Support \ Renderable
public function index()
    {
        $promotions = \App\Promotion::all();
        return view('home.home')->with('promotions', $promotions);
    }
public function index ( ) { $ promotions = \ App \ Promotion :: all ( ) ; return view ( 'home.home' ) -> with ( 'promotions' , $ promotions ) ; }
Show the application dashboard.
Show the application dashboard .