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/grape.rb
Akira Matsuda abbf93d557 Extract kaminari-grape gem, and warn users to use the gemified adapter
The built-in Grape support will be removed from this gem in the 1.0 release
2016-06-13 09:56:16 +09:00

6 lines
232 B
Ruby

require 'grape'
require 'kaminari'
ActiveSupport::Deprecation.warn 'Kaminari Grape support has been extracted to a separate gem, and will be removed in the next 1.0 release. Please bundle kaminari-grape gem.'
Kaminari::Hooks.init