From c98c52ad14ba5b15897bee8f18a38ae9355a020f Mon Sep 17 00:00:00 2001
From: maxwell <maxwell@joindiaspora.com>
Date: Thu, 19 Aug 2010 12:17:29 -0700
Subject: [PATCH] MS IZ renamed the array

---
 app/controllers/users_controller.rb | 2 +-
 app/views/users/index.html.haml     | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/app/controllers/users_controller.rb b/app/controllers/users_controller.rb
index 133de06101..73e92d3855 100644
--- a/app/controllers/users_controller.rb
+++ b/app/controllers/users_controller.rb
@@ -2,7 +2,7 @@ class UsersController < ApplicationController
   before_filter :authenticate_user!, :except => [:new, :create]
   def index
 
-    @group_array = current_user.groups.collect{|x| [x.to_s, x.id]} 
+    @groups_array = current_user.groups.collect{|x| [x.to_s, x.id]} 
 
     unless params[:q]
       @people = Person.all
diff --git a/app/views/users/index.html.haml b/app/views/users/index.html.haml
index fec427aa4d..3f0d01435f 100644
--- a/app/views/users/index.html.haml
+++ b/app/views/users/index.html.haml
@@ -21,6 +21,6 @@
         -else
           %td
             = form_for Request.new do |f|
-              =f.select(:group_id, @groups_array)
+              = f.select(:group_id, @groups_array)
               = f.hidden_field :destination_url, :value => person.email
-              =f.submit
+              = f.submit
-- 
GitLab