4、个人主页的的 动态中要包括留言的信息

This commit is contained in:
yanxd 2013-12-20 11:03:57 +08:00
parent 7226186316
commit 845937592f
1 changed files with 2 additions and 2 deletions

View File

@ -410,8 +410,8 @@ class UsersController < ApplicationController
@message = messages[@info_pages.offset, @info_pages.per_page]
@state = 2
else
where_condition = nil;#"act_type <> 'JournalsForMessage'"
where_condition = "act_type <> 'JournalsForMessage'"
where_condition = nil;
# where_condition = "act_type <> 'JournalsForMessage'"
if @user == User.current
watcher = User.watched_by(@user)
watcher.push(User.current)