diff --git a/app/controllers/item_banks_controller.rb b/app/controllers/item_banks_controller.rb index 091163821..104851676 100644 --- a/app/controllers/item_banks_controller.rb +++ b/app/controllers/item_banks_controller.rb @@ -1,4 +1,14 @@ class LibrariesController < ApplicationController + include PaginateHelper + def index + default_sort('updated_at', 'desc') + @items = ItemBankQuery.call(params) + @items = paginate courses.includes(:school, :students, :attachments, :homework_commons, teacher: :user_extension) + end + + def create + + end end \ No newline at end of file