2019-09-01 23:19:10 +00:00
|
|
|
package activityroutes
|
|
|
|
|
|
|
|
import (
|
|
|
|
"github.com/aerogo/aero"
|
|
|
|
"github.com/animenotifier/notify.moe/pages/activity"
|
|
|
|
"github.com/animenotifier/notify.moe/utils/page"
|
|
|
|
)
|
|
|
|
|
|
|
|
// Register registers the page routes.
|
|
|
|
func Register(app *aero.Application) {
|
2021-11-23 06:47:25 +00:00
|
|
|
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)
|
2019-09-01 23:19:10 +00:00
|
|
|
}
|