From 49adb8b552b5dc0fc07298649466e1a71cebd661 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Mon, 8 Dec 2008 02:15:21 -0500 Subject: add fancy url for block action darcs-hash:20081208071521-5ed1f-1178a3c50f94c039d98112620e8bf78836e659bc.gz --- htaccess.sample | 2 ++ lib/util.php | 1 + 2 files changed, 3 insertions(+) diff --git a/htaccess.sample b/htaccess.sample index b0e89b9f2..c06b5ed23 100644 --- a/htaccess.sample +++ b/htaccess.sample @@ -44,6 +44,8 @@ RewriteRule ^main/sup$ index.php?action=sup [L,QSA] RewriteRule ^main/tagother$ index.php?action=tagother [L,QSA] +RewriteRule ^main/block$ index.php?action=block [L,QSA] + RewriteRule ^settings/delete$ index.php?action=deleteprofile [L,QSA] RewriteRule ^settings/profile$ index.php?action=profilesettings [L,QSA] RewriteRule ^settings/openid$ index.php?action=openidsettings [L,QSA] diff --git a/lib/util.php b/lib/util.php index df736cf01..84befa537 100644 --- a/lib/util.php +++ b/lib/util.php @@ -1081,6 +1081,7 @@ function common_fancy_url($action, $args=NULL) { } case 'doc': return common_path('doc/'.$args['title']); + case 'block': case 'login': case 'logout': case 'subscribe': -- cgit v1.2.3-54-g00ecf