From 62d12533d0fc5de763603578840601399e54c557 Mon Sep 17 00:00:00 2001 From: chris Date: Wed, 8 May 2013 21:37:33 +0800 Subject: [PATCH] Put back value --- app/controllers/orbit_backend_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/orbit_backend_controller.rb b/app/controllers/orbit_backend_controller.rb index 7eeb7eb24..42baf4f28 100644 --- a/app/controllers/orbit_backend_controller.rb +++ b/app/controllers/orbit_backend_controller.rb @@ -165,7 +165,7 @@ class OrbitBackendController < ApplicationController def get_viewable(object_class, query=nil) objects = get_objects(object_class,query).order_by(:created_at, :desc) - Kaminari.paginate_array(objects).page(params[:page]).per(5) + Kaminari.paginate_array(objects).page(params[:page]).per(10) end def get_objects(object_class, query=nil)