1
0
Fork 0
mirror of https://github.com/kaminari/kaminari.git synced 2022-11-09 13:44:37 -05:00
kaminari--kaminari/lib/kaminari/sinatra.rb
2011-12-17 16:39:10 +09:00

13 lines
267 B
Ruby

begin
require 'sinatra/base'
rescue LoadError
raise LoadError, "couldn't load `sinatra/base`, check out if appropriately bundled sinatra gem?"
end
require 'kaminari'
module Kaminari::Helpers
end
require 'kaminari/helpers/sinatra_helpers'
Kaminari::Hooks.init!