Change will_paginate to array paginate