diff --git a/app/controllers/users_controller.rb b/app/controllers/users_controller.rb index 3596c26ed..c7e2979b1 100644 --- a/app/controllers/users_controller.rb +++ b/app/controllers/users_controller.rb @@ -2,10 +2,8 @@ class UsersController < ApplicationController before_filter :authenticate_user!, :except => [:new, :create] def index - puts "awesome" @groups_array = current_user.groups.collect{|x| [x.to_s, x.id]} - puts params.inspect unless params[:q] @people = Person.all render :index diff --git a/app/views/users/index.html.haml b/app/views/users/index.html.haml index 9eee6b7d1..3f14d8ce3 100644 --- a/app/views/users/index.html.haml +++ b/app/views/users/index.html.haml @@ -33,4 +33,4 @@ = form_for Request.new do |f| = f.select(:group_id, @groups_array) = f.hidden_field :destination_url, :value => person.email - = f.submit + = f.submit "add friend"