Skip to content

Commit

Permalink
Add a Sinatra/Padrino notice for use
Browse files Browse the repository at this point in the history
- following kaminari#486
  • Loading branch information
udzura committed Dec 11, 2013
1 parent e2df2ef commit efd806a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.rdoc
Original file line number Diff line number Diff line change
Expand Up @@ -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.


Expand Down

0 comments on commit efd806a

Please sign in to comment.