lib/administrate/base_controller.rb in administrate-base_controller-0.4.1 vs lib/administrate/base_controller.rb in administrate-base_controller-0.5.0

- old
+ new

@@ -2,10 +2,10 @@ 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) respond_to do |format| format.json { render_index_json(resources) }