|
|
|
@ -12,7 +12,7 @@ class Admins::ExaminationAuthenticationsController < Admins::BaseController
|
|
|
|
|
ActiveRecord::Base.transaction do
|
|
|
|
|
exam = ExaminationBank.find current_apply.container_id
|
|
|
|
|
current_apply.update!(status: 1)
|
|
|
|
|
exam.update!(public: 0)
|
|
|
|
|
exam.update!(public: 1)
|
|
|
|
|
end
|
|
|
|
|
render_success_js
|
|
|
|
|
end
|
|
|
|
|