|
|
@ -1,7 +1,7 @@
|
|
|
|
#encoding: UTF-8
|
|
|
|
#encoding: UTF-8
|
|
|
|
class ExerciseBanksController < ApplicationController
|
|
|
|
class ExerciseBanksController < ApplicationController
|
|
|
|
before_action :require_login
|
|
|
|
before_action :require_login
|
|
|
|
before_action :find_bank, except: [:choose_shixun]
|
|
|
|
before_action :find_bank, :bank_visit_auth, except: [:choose_shixun]
|
|
|
|
before_action :bank_admin, only: [:update]
|
|
|
|
before_action :bank_admin, only: [:update]
|
|
|
|
before_action :commit_shixun_present, only: [:commit_shixun]
|
|
|
|
before_action :commit_shixun_present, only: [:commit_shixun]
|
|
|
|
|
|
|
|
|
|
|
|