Specify type again
This commit is contained in:
parent
eee9561656
commit
28b7302c9e
1 changed files with 1 additions and 1 deletions
|
|
@ -63,7 +63,7 @@ class PeopleController < ApplicationController
|
|||
@commenting_disabled = false
|
||||
end
|
||||
|
||||
@posts = current_user.posts_from(@person).paginate :page => params[:page]
|
||||
@posts = current_user.posts_from(@person).where(:type => "StatusMessage").paginate :page => params[:page]
|
||||
@post_hashes = hashes_for_posts @posts
|
||||
|
||||
respond_with @person, :locals => {:post_type => :all}
|
||||
|
|
|
|||
Loading…
Reference in a new issue