Added posts to profile

This commit is contained in:
FM1337
2017-06-22 11:21:26 -03:00
parent ba84bd5488
commit ad7bc381ac
5 changed files with 89 additions and 15 deletions

View File

@ -61,6 +61,7 @@ func configure(app *aero.Application) *aero.Application {
app.Ajax("/user", user.Get)
app.Ajax("/user/:nick", profile.Get)
app.Ajax("/user/:nick/threads", profile.GetThreadsByUser)
app.Ajax("/user/:nick/posts", profile.GetPostsByUser)
app.Ajax("/user/:nick/animelist", animelist.Get)
app.Ajax("/user/:nick/animelist/:id", animelistitem.Get)
app.Ajax("/settings", settings.Get)