diff --git a/cmd/web.go b/cmd/web.go index dfb3ac238..5e814cb4f 100644 --- a/cmd/web.go +++ b/cmd/web.go @@ -562,6 +562,8 @@ func runWeb(ctx *cli.Context) error { }) // ***** END: Repository ***** + m.Get("/notifications", reqSignIn, user.Notifications) + m.Group("/api", func() { apiv1.RegisterRoutes(m) }, ignSignIn) diff --git a/routers/user/notification.go b/routers/user/notification.go new file mode 100644 index 000000000..dc4a9d5ec --- /dev/null +++ b/routers/user/notification.go @@ -0,0 +1,10 @@ +package user + +import ( + "code.gitea.io/gitea/modules/context" +) + +// Notifications is the notifications page +func Notifications(c *context.Context) { + panic("Not implemented") +}