From: Mark Felder <feld@FreeBSD.org>
Date: Sat, 15 Jun 2019 12:04:01 +0000 (-0500)
Subject: OEmbed.OEmbedController does not exist in the Pleroma codebase. It was removed in... 
X-Git-Url: http://git.squeep.com/?a=commitdiff_plain;h=9b908697dd542f43c94ebb7bbc7a7b22310bf1ad;p=akkoma

OEmbed.OEmbedController does not exist in the Pleroma codebase. It was removed in commit 92c5640f
and this leftover artifact breaks compiling now.
---

diff --git a/lib/pleroma/web/router.ex b/lib/pleroma/web/router.ex
index 0e3f73226..837153ed4 100644
--- a/lib/pleroma/web/router.ex
+++ b/lib/pleroma/web/router.ex
@@ -607,12 +607,6 @@ defmodule Pleroma.Web.Router do
     post("/push/subscriptions/:id", Websub.WebsubController, :websub_incoming)
   end
 
-  scope "/", Pleroma.Web do
-    pipe_through(:oembed)
-
-    get("/oembed", OEmbed.OEmbedController, :url)
-  end
-
   pipeline :activitypub do
     plug(:accepts, ["activity+json", "json"])
     plug(Pleroma.Web.Plugs.HTTPSignaturePlug)