adding missing instance variable

git-svn-id: http://svn.barleysodas.com/barleysodas/trunk@134 0f7b21a7-9e3a-4941-bbeb-ce5c7c368fa7
master
andrew 2008-02-04 06:26:30 +00:00
parent 9d61ecbba3
commit 9acd85475c
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])
@page = @friend.destination
respond_to do |format| respond_to do |format|
if @friend.save if @friend.save
flash[:notice] = 'Successfully added the new friend' flash[:notice] = 'Successfully added the new friend'