app/Http/Controllers/Admin/ActivityLogsController.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()
    {
        $activitylogs = ActivityLog::has('users')->get();
        return view('admin.activitylogs.index')
        ->with('activitylogs', $activitylogs);
    }
public function index ( ) { $ activitylogs = ActivityLog :: has ( 'users' ) -> get ( ) ; return view ( 'admin.activitylogs.index' ) -> with ( 'activitylogs' , $ activitylogs ) ; }
Display a listing of the resource.
Display a listing of the resource .