[Embed] Fixed error related to oembed action

This commit is contained in:
Miguel Dantas 2019-08-07 23:12:03 +01:00 committed by Diogo Cordeiro
parent 11d203c54a
commit 52310a8ad8

View File

@ -102,7 +102,7 @@ class EmbedPlugin extends Plugin
*/
public function onRouterInitialized(URLMapper $m)
{
$m->connect('main/embed', ['action' => 'embed']);
$m->connect('main/oembed', ['action' => 'oembed']);
}
/**