Merge branch 'dev_aliyun' of https://bdgit.educoder.net/Hjqreturn/educoder into dev_aliyun

dev_ec
杨树林 5 years ago
commit 563828c5df

@ -344,7 +344,7 @@ module TidingDecorator
end end
def resubmit_student_work_content def resubmit_student_work_content
I18n.t(locale_format) % container&.homework_common.try(:name) I18n.t(locale_format) % parent_container.try(:name)
end end
def student_works_score_content def student_works_score_content

@ -12,7 +12,7 @@ class SubjectSearchService < ApplicationService
type = params[:type] || "all" type = params[:type] || "all"
if type == "mine" if type == "mine"
@subjects = User.current.shixuns.visible.unhidden @subjects = User.current.subjects.visible.unhidden
else else
@subjects = Subject.visible.unhidden @subjects = Subject.visible.unhidden
end end

Loading…
Cancel
Save