From 9acd85475cca0563ad5891b37c9b17a8c307599b Mon Sep 17 00:00:00 2001 From: andrew Date: Mon, 4 Feb 2008 06:26:30 +0000 Subject: [PATCH] adding missing instance variable git-svn-id: http://svn.barleysodas.com/barleysodas/trunk@134 0f7b21a7-9e3a-4941-bbeb-ce5c7c368fa7 --- app/controllers/friends_controller.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/controllers/friends_controller.rb b/app/controllers/friends_controller.rb index 11cdd02..ad20133 100644 --- a/app/controllers/friends_controller.rb +++ b/app/controllers/friends_controller.rb @@ -16,6 +16,7 @@ class FriendsController < ApplicationController # POST /friends.xml def create @friend = Friend.new(params[:friend]) + @page = @friend.destination respond_to do |format| if @friend.save flash[:notice] = 'Successfully added the new friend'