projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b5e94bf
)
Add home timeline
author
dtluna
<dtluna@openmailbox.org>
Mon, 10 Apr 2017 15:26:14 +0000
(18:26 +0300)
committer
dtluna
<dtluna@openmailbox.org>
Mon, 10 Apr 2017 15:26:14 +0000
(18:26 +0300)
lib/pleroma/web/router.ex
patch
|
blob
|
history
diff --git
a/lib/pleroma/web/router.ex
b/lib/pleroma/web/router.ex
index 52030d684ac16d093977094286974f7bcd94dde8..66dcbb1188a628838c993ca828c64cec8a08f426 100644
(file)
--- a/
lib/pleroma/web/router.ex
+++ b/
lib/pleroma/web/router.ex
@@
-32,6
+32,7
@@
defmodule Pleroma.Web.Router do
post "/account/verify_credentials", TwitterAPI.Controller, :verify_credentials
post "/statuses/update", TwitterAPI.Controller, :status_update
+ get "/statuses/home_timeline", TwitterAPI.Controller, :friends_timeline
get "/statuses/friends_timeline", TwitterAPI.Controller, :friends_timeline
post "/friendships/create", TwitterAPI.Controller, :follow
post "/friendships/destroy", TwitterAPI.Controller, :unfollow