From 67c886c23032f01bc708c46ee35120c9472ba65f Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Wed, 21 Jan 2009 02:47:55 -0500 Subject: [PATCH] Add fancy urls for new urls --- lib/util.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/util.php b/lib/util.php index e570b54f94..56fbc29f50 100644 --- a/lib/util.php +++ b/lib/util.php @@ -929,6 +929,10 @@ function common_fancy_url($action, $args=null) return common_path('group/'.$args['id'].'/id'); case 'grouprss': return common_path('group/'.$args['nickname'].'/rss'); + case 'groupmembers': + return common_path('group/'.$args['nickname'].'/members'); + case 'usergroups': + return common_path($args['nickname'].'/groups'); default: return common_simple_url($action, $args); }