fancy URLs for IM settings

darcs-hash:20080626184931-34904-d83ce6fc0f3d126929e01804dafea466249b329b.gz
This commit is contained in:
Evan Prodromou 2008-06-26 14:49:31 -04:00
parent 0b0beda026
commit ec4a6c7812
2 changed files with 3 additions and 0 deletions

View File

@ -25,6 +25,7 @@ RewriteRule ^settings/avatar$ index.php?action=avatar [L,QSA]
RewriteRule ^settings/password$ index.php?action=password [L,QSA]
RewriteRule ^settings/profile$ index.php?action=profilesettings [L,QSA]
RewriteRule ^settings/openid$ index.php?action=openidsettings [L,QSA]
RewriteRule ^settings/im$ index.php?action=imsettings [L,QSA]
RewriteRule ^notice/new$ index.php?action=newnotice [L,QSA]
RewriteRule ^notice/(\d+)$ index.php?action=shownotice&notice=$1 [L,QSA]

View File

@ -695,6 +695,8 @@ function common_fancy_url($action, $args=NULL) {
$path .= '/' . $args['code'];
}
return common_path($path);
case 'imsettings':
return common_path('settings/im');
default:
return common_simple_url($action, $args);
}