Merge branch 'develop' into feature/digest-email
[akkoma] / lib / pleroma / web / router.ex
index 3e5142e8a48b1aa054b983e1c6fdae63613334fd..f9e5be1e26d9aecad89864771dd74da25b18a905 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