find people

git-svn-id: http://svn.barleysodas.com/barleysodas/trunk@143 0f7b21a7-9e3a-4941-bbeb-ce5c7c368fa7
master
andrew 2008-02-05 18:03:12 +00:00
parent 9b58dc0969
commit e419e9ce1e
1 changed files with 1 additions and 0 deletions

View File

@ -16,6 +16,7 @@ class FriendsController < ApplicationController
# POST /friends.xml # POST /friends.xml
def create def create
@friend = Friend.new(params[:friend]) @friend = Friend.new(params[:friend])
@people = @friend.source
@page = @friend.destination @page = @friend.destination
respond_to do |format| respond_to do |format|
if @friend.save if @friend.save