]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
[Embed] Fixed error related to oembed action
authorMiguel Dantas <biodantasgs@gmail.com>
Wed, 7 Aug 2019 22:12:03 +0000 (23:12 +0100)
committerDiogo Cordeiro <diogo@fc.up.pt>
Wed, 7 Aug 2019 22:57:40 +0000 (23:57 +0100)
plugins/Embed/EmbedPlugin.php

index 3f9ed9f6f9ce949cd606558833655b60e7c4d876..959bc6a06895d87ca5cef72e4bb5635b756b9e86 100644 (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']);
     }
 
     /**