Performance improvement for users page

This commit is contained in:
2017-11-18 11:28:53 +01:00
parent 16c76670e8
commit bd293de4be
4 changed files with 35 additions and 2 deletions

View File

@ -13,6 +13,7 @@ import (
"github.com/animenotifier/notify.moe/pages/apiview"
"github.com/animenotifier/notify.moe/pages/character"
"github.com/animenotifier/notify.moe/pages/charge"
"github.com/animenotifier/notify.moe/pages/company"
"github.com/animenotifier/notify.moe/pages/compare"
"github.com/animenotifier/notify.moe/pages/database"
"github.com/animenotifier/notify.moe/pages/editanime"
@ -92,6 +93,9 @@ func Configure(app *aero.Application) {
// Characters
l.Page("/character/:id", character.Get)
// Companies
l.Page("/company/:id", company.Get)
// Settings
l.Page("/settings", settings.Get(components.SettingsPersonal))
l.Page("/settings/accounts", settings.Get(components.SettingsAccounts))