Improved shop

This commit is contained in:
2017-10-05 10:26:07 +02:00
parent 43317fd3da
commit 41155c8bff
8 changed files with 22 additions and 14 deletions

View File

@ -26,5 +26,5 @@ func Get(ctx *aero.Context) string {
return ctx.Error(http.StatusInternalServerError, "Error fetching inventory data", err)
}
return ctx.HTML(components.Inventory(inventory, viewUser))
return ctx.HTML(components.Inventory(inventory, viewUser, user))
}