MS IZ renamed the array

This commit is contained in:
maxwell 2010-08-19 12:17:29 -07:00
parent 02da9bf634
commit c98c52ad14
2 changed files with 3 additions and 3 deletions

View file

@ -2,7 +2,7 @@ class UsersController < ApplicationController
before_filter :authenticate_user!, :except => [:new, :create] before_filter :authenticate_user!, :except => [:new, :create]
def index 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] unless params[:q]
@people = Person.all @people = Person.all

View file

@ -21,6 +21,6 @@
-else -else
%td %td
= form_for Request.new do |f| = 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.hidden_field :destination_url, :value => person.email
=f.submit = f.submit