Merge develop
[akkoma] / lib / pleroma / web / router.ex
index ff4f08af57a58a16cf7db7d033577bece2349649..9b833bc4883c232d155918931a1389f346715753 100644 (file)
@@ -565,6 +565,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
 
   scope "/", Pleroma.Web do