Improved notifications view

This commit is contained in:
2018-03-01 00:06:03 +01:00
parent 25c70eba0d
commit 0c89576f41
8 changed files with 115 additions and 43 deletions

View File

@ -214,6 +214,7 @@ func Configure(app *aero.Application) {
app.Get("/api/popular/anime/titles/:count", popular.AnimeTitles)
app.Get("/api/test/notification", notifications.Test)
app.Get("/api/count/notifications/unseen", notifications.CountUnseen)
app.Get("/api/mark/notifications/seen", notifications.MarkNotificationsAsSeen)
// Legal stuff
l.Page("/terms", terms.Get)