diff --git a/app/controllers/admin/admin_modules_controller.rb b/app/controllers/admin/admin_modules_controller.rb index e1e838e..53d6124 100644 --- a/app/controllers/admin/admin_modules_controller.rb +++ b/app/controllers/admin/admin_modules_controller.rb @@ -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"