redirect to root instead of search

This commit is contained in:
Raphael 2010-09-10 16:52:28 -07:00
parent b704704334
commit 17be027738

View file

@ -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