Merge develop
[akkoma] / lib / pleroma / web / router.ex
index d53fa8a350b56c1f9387af3d6a76d92c0462c1af..b25e4ffd87db0000fcc5bf98bfbf016933321297 100644 (file)
@@ -612,6 +612,8 @@ defmodule Pleroma.Web.Router do
     post("/push/hub/:nickname", Websub.WebsubController, :websub_subscription_request)
     get("/push/subscriptions/:id", Websub.WebsubController, :websub_subscription_confirmation)
     post("/push/subscriptions/:id", Websub.WebsubController, :websub_incoming)
+
+    get("/mailer/unsubscribe/:token", Mailer.SubscriptionController, :unsubscribe)
   end
 
   pipeline :activitypub do