app/controllers/administrate/application_controller.rb in administrate-0.1.1 vs app/controllers/administrate/application_controller.rb in administrate-0.1.2

- old
+ new

@@ -6,10 +6,10 @@ resources = order.apply(resources) resources = resources.page(params[:page]).per(records_per_page) page = Administrate::Page::Collection.new(dashboard, order: order) render locals: { - resources: resources.page(params[:page]).per(records_per_page), + resources: resources, search_term: search_term, page: page, } end