yslnewtiku
parent
0e5fa079bc
commit
8f8a33d379
@ -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
|
Loading…
Reference in new issue