diff --git a/app/controllers/aspects_controller.rb b/app/controllers/aspects_controller.rb index fbc39116f..2f4317195 100644 --- a/app/controllers/aspects_controller.rb +++ b/app/controllers/aspects_controller.rb @@ -38,7 +38,7 @@ class AspectsController < ApplicationController :type => ['StatusMessage','ActivityStreams::Photo'], :order => session[:sort_order] + ' DESC', :max_time => params[:max_time].to_i - ).includes(:photos, :likes, {:comments => {:author => :profile}}, {:mentions => {:person => :profile}}) + ).includes(:likes, {:comments => {:author => :profile}}, {:mentions => {:person => :profile}}) @posts = PostsFake.new(posts) if params[:only_posts]