Update Timeline.hs
This commit is contained in:
parent
e8d80c7377
commit
5c523c4841
@ -12,7 +12,7 @@ import Import
|
||||
getTimelineR :: Handler Html
|
||||
getTimelineR = do
|
||||
(uid, user) <- requireAuthPair
|
||||
posts <- runDB $ selectList [PostUserId ==. uid] [Desc PostCreated]
|
||||
posts <- runDB $ selectList [PostAuthor ==. uid] [Desc PostCreated]
|
||||
(postWidget, postEnctype) <- generateFormPost (postForm Nothing uid)
|
||||
let userName :: Text
|
||||
userName = userIdent user
|
||||
|
Loading…
Reference in New Issue
Block a user