|
|
|
@ -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
|
|
|
|
|