dev_course
cxt 6 years ago
parent b4fa106873
commit 09d8e6e5da

@ -90,8 +90,10 @@ class HomeworkCommonsController < ApplicationController
if @homework_type == 4
@homework_commons = @homework_commons.includes(:homework_detail_manual, :published_settings, :shixuns)
else
elsif @homework_type == 3
@homework_commons = @homework_commons.includes(:homework_detail_manual, :published_settings, :homework_detail_group)
else
@homework_commons = @homework_commons.includes(:homework_detail_manual, :published_settings)
end
end

Loading…
Cancel
Save