app/Http/Controllers/BackController.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()
    {
        $titres = Titre::all();
        $headers = Navbar::all();
        $heros = PremiereSection::all();
        $abouts = DeuxiemeSection::all();
        $features = Feature::all();
        $services = Service::all();
        $portfolios = Portfolio::all();
        $testimonials = Testimonial::all();
        $teams = Team::all();
        $contacts = Contact::all();
        $footers = Footer::all();
        return view('pages.mainBO', compact('titres', 'headers', 'heros', 'abouts', 'features', 'services', 'portfolios', 'testimonials', 'teams', 'contacts', 'footers'));
    }
public function index ( ) { $ titres = Titre :: all ( ) ; $ headers = Navbar :: all ( ) ; $ heros = PremiereSection :: all ( ) ; $ abouts = DeuxiemeSection :: all ( ) ; $ features = Feature :: all ( ) ; $ services = Service :: all ( ) ; $ portfolios = Portfolio :: all ( ) ; $ testimonials = Testimonial :: all ( ) ; $ teams = Team :: all ( ) ; $ contacts = Contact :: all ( ) ; $ footers = Footer :: all ( ) ; return view ( 'pages.mainBO' , compact ( 'titres' , 'headers' , 'heros' , 'abouts' , 'features' , 'services' , 'portfolios' , 'testimonials' , 'teams' , 'contacts' , 'footers' ) ) ; }
Display a listing of the resource.
Display a listing of the resource .