diff options
author | Craig Andrews <candrews@integralblue.com> | 2009-07-17 17:11:26 -0400 |
---|---|---|
committer | Craig Andrews <candrews@integralblue.com> | 2009-07-17 17:11:26 -0400 |
commit | f0d17afc7b69308b27dc48a43ed08947885d8225 (patch) | |
tree | 7961725341c4a489331df890a531f578d83782b3 /lib | |
parent | 9c670ba695d14068d1d159a91d0699f2677dad91 (diff) |
Moved oembed endpointer so openid no longer incorrectly prompts for authentication
Diffstat (limited to 'lib')
-rw-r--r-- | lib/router.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/router.php b/lib/router.php index bf3895bf0..5e0fcfc94 100644 --- a/lib/router.php +++ b/lib/router.php @@ -113,11 +113,6 @@ class Router $m->connect('main/tagother/:id', array('action' => 'tagother')); - $m->connect('main/:method', - array('action' => 'api', - 'method' => 'oembed(.xml|.json)?', - 'apiaction' => 'oembed')); - // these take a code foreach (array('register', 'confirmaddress', 'recoverpassword') as $c) { @@ -134,6 +129,11 @@ class Router $m->connect('index.php?action=' . $action, array('action' => $action)); } + $m->connect('main/:method', + array('action' => 'api', + 'method' => 'oembed(.xml|.json)?', + 'apiaction' => 'oembed')); + // settings foreach (array('profile', 'avatar', 'password', 'openid', 'im', |