correct action for showfavorites in disfavor

darcs-hash:20080908182716-84dde-fad2159212dd427d596a8ace7aa4032be8446799.gz
This commit is contained in:
Evan Prodromou 2008-09-08 14:27:16 -04:00
parent 59ef19b7d3
commit dd4c0ebaa8

View File

@ -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)));
}
}