Add one more alias for twapi twkn.
authorRoger Braun <roger@rogerbraun.net>
Sat, 6 May 2017 20:26:36 +0000 (22:26 +0200)
committerRoger Braun <roger@rogerbraun.net>
Sat, 6 May 2017 20:26:36 +0000 (22:26 +0200)
lib/pleroma/web/router.ex

index 327987d1d9c1995364e925e6071ada01ae9d20f7..50a3934d6a8f8380daa6c233366add4e415bad05 100644 (file)
@@ -31,6 +31,7 @@ defmodule Pleroma.Web.Router do
 
     get "/statuses/public_timeline", TwitterAPI.Controller, :public_timeline
     get "/statuses/public_and_external_timeline", TwitterAPI.Controller, :public_and_external_timeline
+    get "/statuses/networkpublic_timeline", TwitterAPI.Controller, :public_and_external_timeline
     get "/statuses/user_timeline", TwitterAPI.Controller, :user_timeline
 
     get "/statuses/show/:id", TwitterAPI.Controller, :fetch_status