From a320891df0ee439d2a2bd86257dc6417454875b1 Mon Sep 17 00:00:00 2001
From: Maxwell Salzberg <maxwell@joindiaspora.com>
Date: Fri, 29 Jul 2011 17:16:37 -0700
Subject: [PATCH] sample users so they are random, not the same all the time

---
 app/views/aspects/index.html.haml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app/views/aspects/index.html.haml b/app/views/aspects/index.html.haml
index 2d2d092ec5..388b080230 100644
--- a/app/views/aspects/index.html.haml
+++ b/app/views/aspects/index.html.haml
@@ -26,7 +26,7 @@
       :posts => @posts
 
 .span-5.rightBar.last
-  = render 'selected_contacts', :people => @selected_people[0..19], :count => @contact_count
+  = render 'selected_contacts', :people => @selected_people.sample(20), :count => @contact_count
 
   .section
     .title
-- 
GitLab