Added terms of service

This commit is contained in:
2017-11-17 12:08:16 +01:00
parent 7ea735ac46
commit 7c9d1c3c31
4 changed files with 71 additions and 0 deletions

View File

@ -42,6 +42,7 @@ import (
"github.com/animenotifier/notify.moe/pages/soundtrack"
"github.com/animenotifier/notify.moe/pages/soundtracks"
"github.com/animenotifier/notify.moe/pages/statistics"
"github.com/animenotifier/notify.moe/pages/terms"
"github.com/animenotifier/notify.moe/pages/threads"
"github.com/animenotifier/notify.moe/pages/user"
"github.com/animenotifier/notify.moe/pages/users"
@ -178,6 +179,9 @@ func Configure(app *aero.Application) {
app.Get("/api/popular/anime/titles/:count", popular.AnimeTitles)
app.Get("/api/test/notification", notifications.Test)
// Legal stuff
l.Page("/terms", terms.Get)
// PayPal
l.Page("/paypal/success", paypal.Success)
l.Page("/paypal/cancel", paypal.Cancel)