Merge branch 'feature/digest-email' into 'develop'
[akkoma] / lib / pleroma / web / router.ex
index d475fc973759e1a27fb634bc23521d4d6a585a47..c8c1c22dd3c66b9e9484c73c09e167f130f4fe6e 100644 (file)
@@ -608,6 +608,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