Merge branch 'master' of github.com:diaspora/diaspora_rails
This commit is contained in:
commit
98a0a3032a
1 changed files with 1 additions and 1 deletions
|
|
@ -32,7 +32,7 @@ class GroupsController < ApplicationController
|
||||||
|
|
||||||
@group = Group.first(:id => params[:id])
|
@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'
|
#@posts = Post.paginate :person_id => @people_ids, :order => 'created_at DESC'
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue