sinatra.rb 267 B

12345678910111213
  1. begin
  2. require 'sinatra/base'
  3. rescue LoadError
  4. raise LoadError, "couldn't load `sinatra/base`, check out if appropriately bundled sinatra gem?"
  5. end
  6. require 'kaminari'
  7. module Kaminari::Helpers
  8. end
  9. require 'kaminari/helpers/sinatra_helpers'
  10. Kaminari::Hooks.init!