diff options
author | Craig Andrews <candrews@integralblue.com> | 2009-07-17 12:33:12 -0400 |
---|---|---|
committer | Craig Andrews <candrews@integralblue.com> | 2009-07-17 12:33:12 -0400 |
commit | 9ed117dc3a405175359d0a541dddfb14cdf15d47 (patch) | |
tree | 88737836558c5f7d45ca6e84342c5eb991293f53 /lib | |
parent | a35794e3c3bd147d3344eaad4b669f45595a3df5 (diff) |
Move the oembed endpoint to /main/oembed
Diffstat (limited to 'lib')
-rw-r--r-- | lib/router.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/router.php b/lib/router.php index 652d2a266..bf3895bf0 100644 --- a/lib/router.php +++ b/lib/router.php @@ -113,6 +113,11 @@ 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) { |