forked from GNUsocial/gnu-social
[Embed] Fixed error related to oembed action
This commit is contained in:
parent
11d203c54a
commit
52310a8ad8
@ -102,7 +102,7 @@ class EmbedPlugin extends Plugin
|
|||||||
*/
|
*/
|
||||||
public function onRouterInitialized(URLMapper $m)
|
public function onRouterInitialized(URLMapper $m)
|
||||||
{
|
{
|
||||||
$m->connect('main/embed', ['action' => 'embed']);
|
$m->connect('main/oembed', ['action' => 'oembed']);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user