find people
git-svn-id: http://svn.barleysodas.com/barleysodas/trunk@143 0f7b21a7-9e3a-4941-bbeb-ce5c7c368fa7master
parent
9b58dc0969
commit
e419e9ce1e
|
@ -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
|
||||||
|
|
Reference in New Issue