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
1 changed files with 6 additions and 0 deletions

View File

@ -273,6 +273,12 @@ or edit gemfile:
gem 'kaminari', :require => 'kaminari/sinatra' 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. More features are coming, and again, this is still experimental. Please let us know if you found anything wrong with the Sinatra support.