From a773450650f83d6a2528c52abd766ca4137e202e Mon Sep 17 00:00:00 2001 From: danielvincent Date: Tue, 4 Jan 2011 18:50:05 -0800 Subject: [PATCH] aspect show fix --- app/controllers/aspects_controller.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/controllers/aspects_controller.rb b/app/controllers/aspects_controller.rb index c64464a1e..dae3bbf78 100644 --- a/app/controllers/aspects_controller.rb +++ b/app/controllers/aspects_controller.rb @@ -72,6 +72,7 @@ class AspectsController < ApplicationController unless @aspect render :file => "#{Rails.root}/public/404.html", :layout => false, :status => 404 else + @aspect_ids = [@aspect.id] @aspect_contacts = hashes_for_contacts Contact.all(:user_id => current_user.id, :aspect_ids.in => [@aspect.id], :pending => false) @aspect_contacts_count = @aspect_contacts.count