From: Miguel Dantas Date: Wed, 7 Aug 2019 22:12:03 +0000 (+0100) Subject: [Embed] Fixed error related to oembed action X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=52310a8ad8be8a43593da73faa910e73bed36804;p=quix0rs-gnu-social.git [Embed] Fixed error related to oembed action --- 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']); } /**