summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-09-08 14:27:16 -0400
committerEvan Prodromou <evan@prodromou.name>2008-09-08 14:27:16 -0400
commitdd4c0ebaa8717012e8bae58088c1a2760152bc41 (patch)
treec15b3e6032e59c0777b495f4264b71e980cba7b9
parent59ef19b7d3fa6aa326cebf528a30dcae42631204 (diff)
correct action for showfavorites in disfavor
darcs-hash:20080908182716-84dde-fad2159212dd427d596a8ace7aa4032be8446799.gz
-rw-r--r--actions/disfavor.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/actions/disfavor.php b/actions/disfavor.php
index 467a52df5..6f4a07886 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