1
0
Fork 0
mirror of https://github.com/kaminari/kaminari.git synced 2022-11-09 13:44:37 -05:00

Add a Sinatra/Padrino notice for use

- following #486
This commit is contained in:
Uchio KONDO 2013-12-11 09:21:54 +09:00
parent e2df2efa6b
commit efd806a7a7

View file

@ -273,6 +273,12 @@ or edit gemfile:
gem 'kaminari', :require => 'kaminari/sinatra'
This line just enables model-side features, such as `Model#page` and `Model#per`. If you want to use view helpers, please explicitly `register` helpers in your Sinatra or Padrino app:
register Kaminari::Helpers::SinatraHelpers
Or, you can implement your own awesome helper :)
More features are coming, and again, this is still experimental. Please let us know if you found anything wrong with the Sinatra support.