消息列表
This commit is contained in:
parent
23ff5f6449
commit
188b9197aa
|
@ -98,8 +98,10 @@ class AtMessage < ActiveRecord::Base
|
|||
when 'JournalsForMessage'
|
||||
if at_message.jour_type == 'Principal'
|
||||
{controller: :users, action: :user_messages, id: at_message.at_user}
|
||||
else
|
||||
elsif at_message.jour_type == 'HomeworkCommon'
|
||||
{controller: :homework_common, action: :index, course: at_message.jour.course_id}
|
||||
elsif at_message.jour_type == 'Course'
|
||||
{controller: :courses, action: :feedback, id: at_message.jour_id}
|
||||
end
|
||||
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue