Added route showing all notifications

This commit is contained in:
2018-03-01 23:18:29 +01:00
parent 40ea58dffe
commit 700bf089bf
4 changed files with 43 additions and 4 deletions

View File

@ -144,7 +144,8 @@ func Configure(app *aero.Application) {
l.Page("/group/:id/forum", group.Forum)
// Notifications
l.Page("/notifications", notifications.All)
l.Page("/notifications", notifications.ByUser)
l.Page("/notifications/all", notifications.All)
// User profiles
l.Page("/user", user.Get)
@ -162,7 +163,7 @@ func Configure(app *aero.Application) {
l.Page("/user/:nick/animelist/dropped", animelist.FilterByStatus(arn.AnimeListStatusDropped))
l.Page("/user/:nick/animelist/anime/:id", animelistitem.Get)
l.Page("/user/:nick/recommended/anime", recommended.Anime)
l.Page("/user/:nick/notifications", notifications.All)
l.Page("/user/:nick/notifications", notifications.ByUser)
// Anime list
l.Page("/animelist/watching", home.FilterByStatus(arn.AnimeListStatusWatching))