博客回复
This commit is contained in:
parent
8d58b045f1
commit
c183574a5e
|
@ -118,6 +118,7 @@ class BlogCommentsController < ApplicationController
|
|||
@blogComment.content = @quote + @blogComment.content
|
||||
@blogComment.title = "RE: #{@article.title}" unless params[:blog_comment][:title]
|
||||
@article.children << @blogComment
|
||||
@article.save
|
||||
@user_activity_id = params[:user_activity_id]
|
||||
user_activity = UserActivity.where("act_type='BlogComment' and act_id =#{@article.id}").first
|
||||
if user_activity
|
||||
|
|
Loading…
Reference in New Issue