aboutsummaryrefslogtreecommitdiffstats
path: root/routers/routes/routes.go
diff options
context:
space:
mode:
Diffstat (limited to 'routers/routes/routes.go')
-rw-r--r--routers/routes/routes.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/routers/routes/routes.go b/routers/routes/routes.go
index 093edcd920..459aa4d09f 100644
--- a/routers/routes/routes.go
+++ b/routers/routes/routes.go
@@ -417,6 +417,8 @@ func RegisterRoutes(m *macaron.Macaron) {
})
// ***** END: User *****
+ m.Get("/avatar/:hash", user.AvatarByEmailHash)
+
adminReq := context.Toggle(&context.ToggleOptions{SignInRequired: true, AdminRequired: true})
// ***** START: Admin *****