summaryrefslogtreecommitdiff
path: root/actions/unblock.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2009-06-14 15:54:22 -0700
committerEvan Prodromou <evan@controlyourself.ca>2009-06-14 15:54:22 -0700
commit203a5aba67c3bd9e2848d90b1778240b387aeda3 (patch)
treedd2e93fddd2e3e719f2f21a6974831ec0e4eeb7d /actions/unblock.php
parent1c41afbd36580e2d5ad110bfb5ae0da53a7895b2 (diff)
Some UI improvements for blocking and unblocking
Add unblock to the router table, so unblocking will work at all. Block form and unblock form return to subscribers list, not subscriptions list, by default. showstream action sends its parameters to block and unblock forms to better return to the right page.
Diffstat (limited to 'actions/unblock.php')
-rw-r--r--actions/unblock.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/unblock.php b/actions/unblock.php
index 8573b2a87..6e671c9dd 100644
--- a/actions/unblock.php
+++ b/actions/unblock.php
@@ -118,7 +118,7 @@ class UnblockAction extends Action
if ($action) {
common_redirect(common_local_url($action, $args), 303);
} else {
- common_redirect(common_local_url('subscriptions',
+ common_redirect(common_local_url('subscribers',
array('nickname' => $cur->nickname)),
303);
}