add fancy url for block action

darcs-hash:20081208071521-5ed1f-1178a3c50f94c039d98112620e8bf78836e659bc.gz
This commit is contained in:
Evan Prodromou 2008-12-08 02:15:21 -05:00
parent ad3fcbce43
commit 49adb8b552
2 changed files with 3 additions and 0 deletions

View File

@ -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]

View File

@ -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':