Skip to content
ronalchn edited this page Feb 23, 2012 · 9 revisions

To install this gem, add the following line to your Gemfile:

gem 'ajax_pagination'

Then run

bundle install

And add to your manifest at app/assets/javascripts/application.js

//= require ajax_pagination

AJAX Pagination depends on jquery-rails and jquery-historyjs, so if their javascript files are not already included, also include to following in your assets/javascripts/application.js file:

//= require jquery
//= require history