From 52310a8ad8be8a43593da73faa910e73bed36804 Mon Sep 17 00:00:00 2001 From: Miguel Dantas Date: Wed, 7 Aug 2019 23:12:03 +0100 Subject: [PATCH] [Embed] Fixed error related to oembed action --- plugins/Embed/EmbedPlugin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/Embed/EmbedPlugin.php b/plugins/Embed/EmbedPlugin.php index 3f9ed9f6f9..959bc6a068 100644 --- a/plugins/Embed/EmbedPlugin.php +++ b/plugins/Embed/EmbedPlugin.php @@ -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']); } /**