Put back value

This commit is contained in:
chris committed 2013-05-08 21:37:33 +08:00
1 parent ae04f67924
commit 62d12533d0
1 file changed
+1 -1
+1 -1
View File
@@ -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)