diff --git a/app/models/shixun.rb b/app/models/shixun.rb index a2c66db79..a0f88260b 100644 --- a/app/models/shixun.rb +++ b/app/models/shixun.rb @@ -293,7 +293,7 @@ class Shixun < ApplicationRecord # 所属实践课程 def relation_path - subjects.published.unhidden.uniq + subjects.visible.unhidden.uniq end private