Skip to content

Commit

Permalink
Update collection call for next administrate v. (#20)
Browse files Browse the repository at this point in the history
Fixes #8
  • Loading branch information
SleeplessByte authored Mar 28, 2020
1 parent 45dc987 commit 64b73d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/administrate/base_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ module Administrate
module BaseController
def index
resources = index_resources
resources = apply_resource_includes(resources)
resources = apply_collection_includes(resources)
resources = order.apply(resources)
resources = resources.page(params[:page]).per(records_per_page)

Expand Down

0 comments on commit 64b73d1

Please sign in to comment.