boards
This commit is contained in:
parent
b66de0ee9f
commit
1e8cb91ab4
|
@ -160,7 +160,7 @@ class MessagesController < ApplicationController
|
|||
@reply.safe_attributes = params[:reply]
|
||||
@reply.content = @quote + @reply.content
|
||||
@reply.subject = "RE: #{@topic.subject}" unless params[:reply][:subject]
|
||||
@reply.reply_id = @message.author
|
||||
# @reply.reply_id = params[:id]
|
||||
@topic.children << @reply
|
||||
user_activity = UserActivity.where("act_type='Message' and act_id =#{@topic.id}").first
|
||||
user_activity.updated_at = Time.now
|
||||
|
|
Loading…
Reference in New Issue