Added companies sorted by popularity

This commit is contained in:
2017-12-02 21:53:01 +01:00
parent e9f15eacbc
commit cbf640710c
6 changed files with 91 additions and 15 deletions

View File

@ -10,8 +10,8 @@ import (
"github.com/animenotifier/notify.moe/utils"
)
// Get renders the companies page.
func Get(ctx *aero.Context) string {
// All renders the companies page.
func All(ctx *aero.Context) string {
user := utils.GetUser(ctx)
companies := arn.FilterCompanies(func(company *arn.Company) bool {