|
|
|
@ -149,7 +149,7 @@ class SubjectsController < ApplicationController
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
def choose_subject_shixun
|
|
|
|
|
@search = params[:search].strip
|
|
|
|
|
@search = params[:search].strip if params[:search]
|
|
|
|
|
@type = params[:type]
|
|
|
|
|
# 超级管理员用户显示所有未隐藏的实训、非管理员显示合作团队用户的实训(对本单位公开且未隐藏)
|
|
|
|
|
if current_user.admin?
|
|
|
|
|