From 4462f7c5ffd8b038237ca62e2e846259b550401e Mon Sep 17 00:00:00 2001 From: Eduard Urbach Date: Fri, 23 Jun 2017 21:05:30 +0200 Subject: [PATCH] Renamed Search component to SearchResults --- pages/search/search.go | 2 +- pages/search/search.pixy | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/search/search.go b/pages/search/search.go index 34e6a19f..a7dd0516 100644 --- a/pages/search/search.go +++ b/pages/search/search.go @@ -14,5 +14,5 @@ func Get(ctx *aero.Context) string { term := ctx.Get("term") userResults, animeResults := arn.Search(term, maxUsers, maxAnime) - return ctx.HTML(components.Search(userResults, animeResults)) + return ctx.HTML(components.SearchResults(userResults, animeResults)) } diff --git a/pages/search/search.pixy b/pages/search/search.pixy index 312ded75..6e12b652 100644 --- a/pages/search/search.pixy +++ b/pages/search/search.pixy @@ -1,4 +1,4 @@ -component Search(users []*arn.User, animeResults []*arn.Anime) +component SearchResults(users []*arn.User, animeResults []*arn.Anime) .widgets .widget h3 Users