You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
361 B
10 lines
361 B
json.partial! "commons/success"
|
|
json.data do
|
|
json.user_course_identity @current_user.course_identity(@message.board.course)
|
|
json.id @message.id
|
|
json.total_count @messages.total_count
|
|
json.total_replies_count @message.total_replies_count
|
|
json.partial! "commons/like", message: @message
|
|
json.partial! 'messages/list', messages: @messages
|
|
end
|