From 17be02773878c4c98a5bd34f50a832985daea28e Mon Sep 17 00:00:00 2001 From: Raphael Date: Fri, 10 Sep 2010 16:52:28 -0700 Subject: [PATCH] redirect to root instead of search --- app/controllers/people_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/people_controller.rb b/app/controllers/people_controller.rb index 044285a31..d4dea8a80 100644 --- a/app/controllers/people_controller.rb +++ b/app/controllers/people_controller.rb @@ -23,7 +23,7 @@ class PeopleController < ApplicationController def destroy current_user.unfriend(current_user.visible_person_by_id(params[:id])) - respond_with :location => people_url + respond_with :location => root_url end end