去除给留言的回复显示在留言中

This commit is contained in:
yanxd 2013-12-25 16:04:14 +08:00
parent b716b60c0b
commit 6b3c3516cd
1 changed files with 1 additions and 1 deletions

View File

@ -222,7 +222,7 @@ class UsersController < ApplicationController
# modified by fq
def user_newfeedback
@jours = @user.journals_for_messages.reverse
@jours = @user.journals_for_messages.where('m_parent_id IS NULL').order('created_on DESC')
@jours.each do |jour|
jour.update_attribute(:status, false)
end