summaryrefslogtreecommitdiff
path: root/actions/attachment.php
diff options
context:
space:
mode:
authorCraig Andrews <candrews@integralblue.com>2009-07-17 12:33:12 -0400
committerCraig Andrews <candrews@integralblue.com>2009-07-17 12:33:12 -0400
commit9ed117dc3a405175359d0a541dddfb14cdf15d47 (patch)
tree88737836558c5f7d45ca6e84342c5eb991293f53 /actions/attachment.php
parenta35794e3c3bd147d3344eaad4b669f45595a3df5 (diff)
Move the oembed endpoint to /main/oembed
Diffstat (limited to 'actions/attachment.php')
-rw-r--r--actions/attachment.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/actions/attachment.php b/actions/attachment.php
index c9c416cb5..c6a5d0d52 100644
--- a/actions/attachment.php
+++ b/actions/attachment.php
@@ -104,7 +104,7 @@ class AttachmentAction extends Action
'type'=>'application/json+oembed',
'href'=>common_local_url(
'api',
- array('apiaction'=>'laconica','method'=>'oembed.json'),
+ array('apiaction'=>'oembed','method'=>'oembed.json'),
array('url'=>
common_local_url('attachment',
array('attachment' => $this->attachment->id)))),
@@ -113,7 +113,7 @@ class AttachmentAction extends Action
'type'=>'text/xml+oembed',
'href'=>common_local_url(
'api',
- array('apiaction'=>'laconica','method'=>'oembed.xml'),
+ array('apiaction'=>'oembed','method'=>'oembed.xml'),
array('url'=>
common_local_url('attachment',
array('attachment' => $this->attachment->id)))),