Integrates the Foundation pagination component with will_paginate
This gem integrates the Foundation pagination component with the will_paginate pagination gem.
gem install will_paginate-foundation
, orgem 'will_paginate-foundation'
to your Gemfile
(and then run bundle install
).renderer: FoundationPagination::Rails
option with the will_paginate
helper, for example:<%= will_paginate @collection, renderer: FoundationPagination::Rails %>
require "will_paginate-foundation"
in your Sinatra app.renderer: FoundationPagination::Sinatra
option with the will_paginate
helper, for example:<%= will_paginate @collection, renderer: FoundationPagination::Sinatra %>
git checkout -b my_markup
)git commit -am "Cool new feature"
)git push origin my_markup
)This gem code was based on https://github.com/nickpad/will_paginate-bootstrap
The MIT License (MIT)