mirror of
https://github.com/diaspora/diaspora.git
synced 2026-04-29 03:01:03 -04:00
MS search and index works
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user