Improved activity page

This commit is contained in:
2021-11-23 15:47:25 +09:00
parent 1cf4e6a1ae
commit 0f5f18db0c
12 changed files with 113 additions and 32 deletions

View File

@ -8,8 +8,8 @@ import (
// Register registers the page routes.
func Register(app *aero.Application) {
page.Get(app, "/activity", activity.Global)
page.Get(app, "/activity/from/:index", activity.Global)
page.Get(app, "/activity/followed", activity.Followed)
page.Get(app, "/activity/followed/from/:index", activity.Followed)
page.Get(app, "/activity", activity.Posts)
page.Get(app, "/activity/from/:index", activity.Posts)
page.Get(app, "/activity/watch", activity.Watch)
page.Get(app, "/activity/watch/from/:index", activity.Watch)
}