app/Http/Controllers/ActivityController.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()
    {
        $activities = Activity::paginate(30);
        return view('admin.pages.activities.index',[
            'activities' => $activities,
        ]);
    }
public function index ( ) { $ activities = Activity :: paginate ( 30 ) ; return view ( 'admin.pages.activities.index' , [ 'activities' => $ activities , ] ) ; }
Display a listing of the resource.
Display a listing of the resource .