From c3f73a80287b35a43ca15d83c9cb2b70606ce7c5 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Sat, 7 Jan 2012 11:51:59 +0000 Subject: [PATCH 1/1] No need to restrict friend's diary entries to public users --- app/controllers/diary_entry_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/diary_entry_controller.rb b/app/controllers/diary_entry_controller.rb index 5e4b68b73..2fd239a06 100644 --- a/app/controllers/diary_entry_controller.rb +++ b/app/controllers/diary_entry_controller.rb @@ -103,7 +103,7 @@ class DiaryEntryController < ApplicationController @title = t 'diary_entry.list.title_friends' @entry_pages, @entries = paginate(:diary_entries, :include => :user, :conditions => { - :user_id => @user.friend_users.public, + :user_id => @user.friend_users, :visible => true }, :order => 'created_at DESC', -- 2.43.2