pagination fix
This commit is contained in:
parent
4f814609d7
commit
37acac4830
|
@ -6,7 +6,7 @@ class Admin::AdminModulesController < OrbitAdminController
|
|||
end
|
||||
|
||||
def index
|
||||
@registered_modules = RegisteredModule.where(:completed => true)
|
||||
@registered_modules = RegisteredModule.where(:completed => true).page(params[:page]).per(10)
|
||||
@table_fields = table_fields
|
||||
if request.xhr?
|
||||
render :partial => "index"
|
||||
|
|
Loading…
Reference in New Issue