public function getAllLogs() { $logs = Log::all(); return $logs; }
/** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { // $logs = Log::all(); return view('admin.log.index', ['logs' => $logs]); }