From dd4c0ebaa8717012e8bae58088c1a2760152bc41 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Mon, 8 Sep 2008 14:27:16 -0400 Subject: [PATCH] correct action for showfavorites in disfavor darcs-hash:20080908182716-84dde-fad2159212dd427d596a8ace7aa4032be8446799.gz --- actions/disfavor.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/actions/disfavor.php b/actions/disfavor.php index 467a52df5d..6f4a078862 100644 --- a/actions/disfavor.php +++ b/actions/disfavor.php @@ -33,7 +33,7 @@ class DisfavorAction extends Action { $user = common_current_user(); if ($_SERVER['REQUEST_METHOD'] != 'POST') { - common_redirect(common_local_url('favorites', array('nickname' => $user->nickname))); + common_redirect(common_local_url('showfavorites', array('nickname' => $user->nickname))); return; } @@ -66,7 +66,7 @@ class DisfavorAction extends Action { # XXX: ajax response - common_redirect(common_local_url('favorites', + common_redirect(common_local_url('showfavorites', array('nickname' => $user->nickname))); } } \ No newline at end of file -- 2.39.5