Forgot to revert this
Cette révision appartient à :
Parent
b3a8471ac4
révision
e91116ce8d
|
@ -164,7 +164,7 @@ func UserProfileEdit(c *gin.Context, userProfile *models.User, userForm userVali
|
||||||
}
|
}
|
||||||
|
|
||||||
// UserProfile render a user profile
|
// 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 := Commonvariables(c)
|
||||||
variables.Set("UserProfile", userProfile)
|
variables.Set("UserProfile", userProfile)
|
||||||
Render(c, path.Join(SiteDir, "user/torrents.jet.html"), variables)
|
Render(c, path.Join(SiteDir, "user/torrents.jet.html"), variables)
|
||||||
|
|
Référencer dans un nouveau ticket