|
|
|
@ -1,8 +1,10 @@
|
|
|
|
|
class ExaminationBanksController < ApplicationController
|
|
|
|
|
include PaginateHelper
|
|
|
|
|
before_action :require_login
|
|
|
|
|
before_action :certi_identity_auth, only: [:create, :edit, :update, :destroy, :set_public, :revoke_item]
|
|
|
|
|
before_action :find_exam, except: [:index, :create]
|
|
|
|
|
before_action :edit_auth, only: [:update, :destroy, :set_public, :revoke_item]
|
|
|
|
|
before_action :identity_auth, only: [:index]
|
|
|
|
|
|
|
|
|
|
def index
|
|
|
|
|
exams = ExaminationBankQuery.call(params)
|
|
|
|
|