mirror of
https://github.com/kaminari/kaminari.git
synced 2022-11-09 13:44:37 -05:00
An Engine can include app/helpers, so let's move the helpers there
however, leaving the original module as is for now, for Sinatra compatibility...
This commit is contained in:
parent
5390faa06f
commit
2ed8adfe37
3 changed files with 5 additions and 5 deletions
|
|
@ -28,10 +28,6 @@ module Kaminari
|
|||
::Plucky::Query.send :include, Kaminari::PluckyCriteriaMethods
|
||||
end
|
||||
require 'kaminari/models/array_extension'
|
||||
|
||||
ActiveSupport.on_load(:action_view) do
|
||||
::ActionView::Base.send :include, Kaminari::ActionViewExtension
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue