Specify type again

This commit is contained in:
Raphael 2011-01-17 19:42:49 -08:00
parent eee9561656
commit 28b7302c9e

View file

@ -63,7 +63,7 @@ class PeopleController < ApplicationController
@commenting_disabled = false @commenting_disabled = false
end 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 @post_hashes = hashes_for_posts @posts
respond_with @person, :locals => {:post_type => :all} respond_with @person, :locals => {:post_type => :all}