aboutsummaryrefslogtreecommitdiff
path: root/lib/pleroma/web/router.ex
diff options
context:
space:
mode:
authorMartin Kühl <martin.kuehl@gmail.com>2018-09-05 20:14:16 +0200
committerMartin Kühl <martin.kuehl@gmail.com>2018-09-07 16:12:44 +0200
commitc1d07da4e18cc2acd11a5a131e1482aec5996552 (patch)
tree43f1a7520301af2ac1d90efd4dd01dbe0c9043bf /lib/pleroma/web/router.ex
parent619f67768a9b66880d8541c03e640201bc378c99 (diff)
downloadpleroma-c1d07da4e18cc2acd11a5a131e1482aec5996552.tar.gz
Mastodon API: Fake support for loading filters
Diffstat (limited to 'lib/pleroma/web/router.ex')
-rw-r--r--lib/pleroma/web/router.ex2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/pleroma/web/router.ex b/lib/pleroma/web/router.ex
index 63493ae1c..9dcf44795 100644
--- a/lib/pleroma/web/router.ex
+++ b/lib/pleroma/web/router.ex
@@ -162,6 +162,8 @@ defmodule Pleroma.Web.Router do
delete("/filters/:id", MastodonAPIController, :delete_filter)
get("/suggestions", MastodonAPIController, :suggestions)
+
+ get("/filters", MastodonAPIController, :filters)
end
scope "/api/web", Pleroma.Web.MastodonAPI do