/** * Display a listing of the resource. *materials * @return \Illuminate\Http\Response */ public function index() { $materials = Material::latest()->paginate(5); return view('backend.pages.element.material.index', compact('materials')); }
/** * Display a listing of the resource. *materials * @return \Illuminate\Http\Response */ public function index() { $materials = Material::latest()->paginate(5); return view('backend.pages.element.material.index', compact('materials')); }