public fix
This commit is contained in:
parent
c284c9b07f
commit
4a8a21b95f
2 changed files with 2 additions and 2 deletions
|
|
@ -52,7 +52,7 @@ class AspectsController < ApplicationController
|
|||
@fb_access_url = MiniFB.oauth_url(FB_APP_ID, APP_CONFIG[:pod_url] + "services/create",
|
||||
:scope=>MiniFB.scopes.join(","))
|
||||
|
||||
@posts = current_user.visible_posts(:public => true).paginate :page => params[:page], :per_page => 15, :order => 'created_at DESC'
|
||||
@posts = current_user.visible_posts(:person_id => current_user.person.id, :public => true).paginate :page => params[:page], :per_page => 15, :order => 'created_at DESC'
|
||||
|
||||
respond_with @aspect
|
||||
end
|
||||
|
|
|
|||
|
|
@ -57,7 +57,7 @@ module Diaspora
|
|||
end
|
||||
|
||||
def create_body
|
||||
@user.visible_posts(:public=>true).inject("") do |xml,curr|
|
||||
@user.visible_posts(:person_id => @user.person.id, :public=>true).inject("") do |xml,curr|
|
||||
if curr.respond_to?(:to_activity)
|
||||
unless xml
|
||||
curr.to_activity
|
||||
|
|
|
|||
Loading…
Reference in a new issue