课程大纲的回复展开更多无反应

This commit is contained in:
cxt 2016-07-22 16:36:25 +08:00
parent 6b1116dfd1
commit 02a5254943
1 changed files with 1 additions and 1 deletions

View File

@ -3341,7 +3341,7 @@ class UsersController < ApplicationController
@user_activity_id = params[:div_id].to_i if params[:div_id]
when 'Syllabus'
obj = Syllabus.where('id = ?', params[:id].to_i).first
@journals = obj.comments.reorder("created_on desc")
@journals = obj.journals_for_messages.reorder("created_on desc")
when 'JournalsForMessage'
obj = JournalsForMessage.where('id = ?', params[:id].to_i).first
journals = []