19 lines
677 B
Go
Raw Normal View History

package settingsroutes
import (
"github.com/aerogo/layout"
"github.com/animenotifier/notify.moe/components"
"github.com/animenotifier/notify.moe/pages/settings"
)
// Register registers the page routes.
func Register(l *layout.Layout) {
// Settings
l.Page("/settings", settings.Get(components.SettingsPersonal))
l.Page("/settings/accounts", settings.Get(components.SettingsAccounts))
l.Page("/settings/notifications", settings.Get(components.SettingsNotifications))
2018-11-06 09:28:50 +00:00
l.Page("/settings/info", settings.Get(components.SettingsInfo))
l.Page("/settings/style", settings.Get(components.SettingsStyle))
2018-10-31 10:54:25 +00:00
l.Page("/settings/extras", settings.Get(components.SettingsExtras))
}