Upgraded to latest aero version
This commit is contained in:
@ -12,7 +12,7 @@ import (
|
||||
)
|
||||
|
||||
// All renders an index of all companies.
|
||||
func All(ctx *aero.Context) string {
|
||||
func All(ctx aero.Context) error {
|
||||
user := utils.GetUser(ctx)
|
||||
|
||||
companies := arn.FilterCompanies(func(company *arn.Company) bool {
|
||||
|
@ -11,7 +11,7 @@ import (
|
||||
const maxPopularCompanies = 10
|
||||
|
||||
// Popular renders the best companies.
|
||||
func Popular(ctx *aero.Context) string {
|
||||
func Popular(ctx aero.Context) error {
|
||||
user := utils.GetUser(ctx)
|
||||
index, _ := ctx.GetInt("index")
|
||||
|
||||
|
Reference in New Issue
Block a user