23 lines
655 B
Go
Raw Normal View History

package coreroutes
import (
2019-06-03 03:20:17 +00:00
"github.com/aerogo/aero"
"github.com/animenotifier/notify.moe/pages/embed"
"github.com/animenotifier/notify.moe/pages/home"
"github.com/animenotifier/notify.moe/pages/login"
"github.com/animenotifier/notify.moe/pages/terms"
2018-11-15 03:42:10 +00:00
"github.com/animenotifier/notify.moe/pages/welcome"
2019-06-03 03:20:17 +00:00
"github.com/animenotifier/notify.moe/utils/page"
)
// Register registers the page routes.
2019-06-03 03:20:17 +00:00
func Register(app *aero.Application) {
page.Get(app, "/", home.Get)
page.Get(app, "/login", login.Get)
page.Get(app, "/welcome", welcome.Get)
page.Get(app, "/terms", terms.Get)
// Browser extension
2019-06-03 03:20:17 +00:00
page.Get(app, "/extension/embed", embed.Get)
}