redirect to root instead of search
This commit is contained in:
parent
b704704334
commit
17be027738
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue