summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2009-07-30 14:57:04 -0400
committerEvan Prodromou <evan@controlyourself.ca>2009-07-30 14:57:04 -0400
commite9ac70bfa76bf17e60936cf59c4e0ef13efbda82 (patch)
tree27f6e8ccf7fa1883d8511e5e4dc02e6749094c43 /lib
parent2b834d04d9d57db0709b829260cae87aae9136f3 (diff)
parent63e8f15448ac2cfb5217ddd96bb95821b6f106c5 (diff)
Merge branch '0.8.x' of git@gitorious.org:laconica/mainline into 0.8.x
Diffstat (limited to 'lib')
-rw-r--r--lib/router.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/router.php b/lib/router.php
index 8e4836497..e10d484f4 100644
--- a/lib/router.php
+++ b/lib/router.php
@@ -129,11 +129,6 @@ 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',
@@ -480,6 +475,11 @@ class Router
Event::handle('RouterInitialized', array($m));
+ $m->connect('main/:method',
+ array('action' => 'api',
+ 'method' => 'oembed(.xml|.json)?',
+ 'apiaction' => 'oembed'));
+
return $m;
}