little cleanup
[akkoma] / lib / pleroma / web / router.ex
index a182e90e7005df74db4384dc1d770a89f20110ea..8cd7e021aa0ff658d6712416364941d1466a95f6 100644 (file)
@@ -230,9 +230,9 @@ defmodule Pleroma.Web.Router do
     pipe_through(:pleroma_html)
 
     post("/main/ostatus", UtilController, :remote_subscribe)
-    get("/ostatus_subscribe", UtilController, :remote_follow)
+    get("/ostatus_subscribe", RemoteFollowController, :follow)
 
-    post("/ostatus_subscribe", UtilController, :do_remote_follow)
+    post("/ostatus_subscribe", RemoteFollowController, :do_follow)
   end
 
   scope "/api/pleroma", Pleroma.Web.TwitterAPI do