admin界面-班级列表:课程列表中不显示已经删除的班级,全部班级列表中显示已经删除的班级
This commit is contained in:
parent
0ae4d26ec0
commit
775ed19129
|
@ -58,7 +58,7 @@
|
|||
<%= format_date(syllabus.created_at) %>
|
||||
</td>
|
||||
</tr>
|
||||
<% courses = syllabus.courses %>
|
||||
<% courses = syllabus.courses.not_deleted %>
|
||||
<% courses.each do |course| %>
|
||||
<tr class="even">
|
||||
<td style="text-align: center;">
|
||||
|
|
Loading…
Reference in New Issue