forked from jacknudt/trustieforge
去除给留言的回复显示在留言中
This commit is contained in:
parent
b716b60c0b
commit
6b3c3516cd
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue