]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
add default groupdirectory route
authorEvan Prodromou <evan@status.net>
Wed, 14 Sep 2011 16:18:22 +0000 (12:18 -0400)
committerEvan Prodromou <evan@status.net>
Wed, 14 Sep 2011 16:18:22 +0000 (12:18 -0400)
plugins/Directory/DirectoryPlugin.php

index ad7fc82049e3438dba053335839db995c5095d66..06cfca02efa5a54492009fc251157a8774eb4958 100644 (file)
@@ -132,6 +132,11 @@ class DirectoryPlugin extends Plugin
             array('filter' => '([0-9a-zA-Z_]{1,64}|0-9)')
         );
 
+        $m->connect(
+            'groups',
+            array('action' => 'groupdirectory')
+        );
+
         return true;
     }