Put back value
This commit is contained in:
parent
ae04f67924
commit
62d12533d0
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue