Put in config/initializers
Found through https://coderwall.com/p/wgyo7q (which provides another client-side option for displaying will_paginate with Bootstrap style.