|
|
@ -3,7 +3,7 @@ class ExaminationBanksController < ApplicationController
|
|
|
|
before_action :require_login
|
|
|
|
before_action :require_login
|
|
|
|
before_action :certi_identity_auth, only: [:create, :edit, :update, :destroy, :set_public, :revoke_item, :cancel_items]
|
|
|
|
before_action :certi_identity_auth, only: [:create, :edit, :update, :destroy, :set_public, :revoke_item, :cancel_items]
|
|
|
|
before_action :find_exam, except: [:index, :create, :cancel_items]
|
|
|
|
before_action :find_exam, except: [:index, :create, :cancel_items]
|
|
|
|
before_action :edit_auth, only: [:update, :set_public, :revoke_item, :cancel_items]
|
|
|
|
before_action :edit_auth, only: [:update, :set_public, :revoke_item]
|
|
|
|
before_action :identity_auth, only: [:index]
|
|
|
|
before_action :identity_auth, only: [:index]
|
|
|
|
|
|
|
|
|
|
|
|
def index
|
|
|
|
def index
|
|
|
|