diff --git a/app/controllers/groups_controller.rb b/app/controllers/groups_controller.rb index e7437c454..11ded0064 100644 --- a/app/controllers/groups_controller.rb +++ b/app/controllers/groups_controller.rb @@ -32,7 +32,7 @@ class GroupsController < ApplicationController @group = Group.first(:id => params[:id]) - @posts = current_user.posts_for( :group => @group ).paginate :order => 'created_at DESC' + @posts = current_user.visible_posts( :by_members_of => @group ).paginate :order => 'created_at DESC' #@posts = Post.paginate :person_id => @people_ids, :order => 'created_at DESC' end