/** * Display a listing of the resource. * GET /materis * * @return Response */ public function index() { $materies = Materi::orderBy('id')->paginate(20); return View::make('admin.materi.index', compact('materies')); }