From e91116ce8d9878f8cfb0f012706c67e6a4aa219d Mon Sep 17 00:00:00 2001 From: akuma06 Date: Thu, 20 Jul 2017 13:34:41 +0200 Subject: [PATCH] Forgot to revert this --- templates/template.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/template.go b/templates/template.go index afbeaa5f..6b4536e1 100644 --- a/templates/template.go +++ b/templates/template.go @@ -164,7 +164,7 @@ func UserProfileEdit(c *gin.Context, userProfile *models.User, userForm userVali } // UserProfile render a user profile -func UserProfile(c *gin.Context, userProfile *models.User, nbTorrents int) { +func UserProfile(c *gin.Context, userProfile *models.User) { variables := Commonvariables(c) variables.Set("UserProfile", userProfile) Render(c, path.Join(SiteDir, "user/torrents.jet.html"), variables)