model->paginate(10); return view($this->bladePath . ".index", compact("data")); } }