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
def resubmit_student_work_content
I18n.t(locale_format) % container&.homework_common.try(:name)
I18n.t(locale_format) % parent_container.try(:name)
end
def student_works_score_content

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

Loading…
Cancel
Save