mirror of
https://github.com/kaminari/kaminari.git
synced 2022-11-09 13:44:37 -05:00
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
This commit is contained in:
parent
954e4ded7a
commit
f3bf4382cc
1 changed files with 2 additions and 0 deletions
|
@ -1,4 +1,6 @@
|
|||
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
|
||||
|
|
Loading…
Reference in a new issue