]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Add fancy urls for new urls
authorEvan Prodromou <evan@controlyourself.ca>
Wed, 21 Jan 2009 07:47:55 +0000 (02:47 -0500)
committerEvan Prodromou <evan@controlyourself.ca>
Wed, 21 Jan 2009 07:47:55 +0000 (02:47 -0500)
lib/util.php

index e570b54f94eb36a75b68940aec02e321e746c8d5..56fbc29f5001a145acb81d0b7ac8f757684fba3f 100644 (file)
@@ -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);
     }