课程大纲的回复展开更多无反应
This commit is contained in:
parent
6b1116dfd1
commit
02a5254943
|
@ -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 = []
|
||||
|
|
Loading…
Reference in New Issue