mirror of
https://github.com/diaspora/diaspora.git
synced 2026-04-29 03:01:03 -04:00
DG IZ posts_for to visible posts
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user