Merge branch 'design_team' into ldap
This commit is contained in:
commit
c062b43069
7 files changed
+12
-5
No files matched your search
@@ -155,7 +155,7 @@ class OrbitBackendController< ApplicationController
|
||||
|
||||
|
||||
def get_viewable(object_class)
|
||||
objects = get_objects(object_class)
|
||||
objects = get_objects(object_class).order_by(:created_at, :desc)
|
||||
Kaminari.paginate_array(objects).page(params[:page]).per(10)
|
||||
end
|
||||
|
||||
|
||||
Reference in new issue
Block a user