Albirew/nyaa-pantsu
Archivé
1
0
Bifurcation 0

Forgot to revert this

Cette révision appartient à :
akuma06 2017-07-20 13:34:41 +02:00
Parent b3a8471ac4
révision e91116ce8d

Voir le fichier

@ -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)