Skip to content

helix-dan/bootstrap_in_will_paginate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

bootstrap_in_will_paginate

the style of bootstrap's paginate for will_paginate

Usage

copy the file "bootstrap_link_renderer.rb" to your rails_path/lib

Add this line to your config/application.rb

config.autoload_paths += Dir["#{config.root}/lib", "#{config.root}/lib/**/"]

and then in your view file

<%= will_paginate(@users, :renderer => BootstrapLinkRenderer) %>

About

the style of bootstrap's paginate for will_paginate

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages