will paginate array in refs controller