app/Http/Controllers/FrontController.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()
    {
        $title = "Decode Lab & Genomics Research Center";
        $blogs = Blog::latest()->get();
        return view('front.index', compact('title','blogs'));
    }
public function index ( ) { $ title = " Decode Lab & Genomics Research Center " ; $ blogs = Blog :: latest ( ) -> get ( ) ; return view ( 'front.index' , compact ( 'title' , 'blogs' ) ) ; }
Display a listing of the resource.
Display a listing of the resource .