path = config("app.client_path"); // } public function displayBackend(){ $methodNames = ['create', 'edit', 'destroy', 'store']; $datas = ActivityLog::whereIn('methodname', $methodNames) ->latest() ->take(20) ->get(); return view('backend.dashboard',compact('datas')); } }