mirror of
https://github.com/kaminari/kaminari.git
synced 2022-11-09 13:44:37 -05:00
13 lines
267 B
Ruby
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!
|
|
|