Reformatting pagination for will_paginate '~> 3.0.5'