]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Adds some missing routes.
authorAdrian Lang <mail@adrianlang.de>
Sat, 21 Feb 2009 17:51:56 +0000 (18:51 +0100)
committerEvan Prodromou <evan@controlyourself.ca>
Fri, 27 Feb 2009 23:38:52 +0000 (15:38 -0800)
lib/router.php

index b18a5523e97a0806ec65093225d44517168ebff8..b142022f0a0c15c40ae19767fb904418e7b3b0dd 100644 (file)
@@ -117,6 +117,11 @@ class Router
         $m->connect('main/openid', array('action' => 'openidlogin'));
         $m->connect('main/remote', array('action' => 'remotesubscribe'));
 
+        foreach (array('requesttoken', 'accesstoken', 'userauthorization',
+                    'postnotice', 'updateprofile') as $action) {
+            $m->connect('index.php?action=' . $action, array('action' => $action));
+        }
+
         // settings
 
         foreach (array('profile', 'avatar', 'password', 'openid', 'im',
@@ -411,4 +416,4 @@ class Router
 
         return $this->m->generate($args, $params, $fragment);
     }
-}
\ No newline at end of file
+}