<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Models\AboutUs; class AboutUsController extends Controller { public function index(){ $about = AboutUs::where('status',true)->first(); return view('about',compact('about')); } }