From 6f08f163746fec0c7e6cd2880392031d5d8e96d7 Mon Sep 17 00:00:00 2001 From: Eduard Urbach Date: Wed, 21 Jun 2017 00:00:40 +0200 Subject: [PATCH] Fixed /anime page --- main.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main.go b/main.go index 39aff0a8..d24a967e 100644 --- a/main.go +++ b/main.go @@ -16,6 +16,7 @@ import ( "github.com/animenotifier/notify.moe/pages/dashboard" "github.com/animenotifier/notify.moe/pages/forum" "github.com/animenotifier/notify.moe/pages/forums" + popularanime "github.com/animenotifier/notify.moe/pages/popular-anime" "github.com/animenotifier/notify.moe/pages/posts" "github.com/animenotifier/notify.moe/pages/profile" "github.com/animenotifier/notify.moe/pages/search" @@ -45,7 +46,7 @@ func main() { // Ajax routes app.Ajax("/", dashboard.Get) - app.Ajax("/anime", search.Get) + app.Ajax("/anime", popularanime.Get) app.Ajax("/anime/:id", anime.Get) app.Ajax("/forum", forums.Get) app.Ajax("/forum/:tag", forum.Get)