Moved oembed endpointer so openid no longer incorrectly prompts for authentication

This commit is contained in:
Craig Andrews 2009-07-17 17:11:26 -04:00
parent 9c670ba695
commit f0d17afc7b

View File

@ -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',