Skip to content

Commit a9844ae

Browse files
committed
Register notification router
1 parent fedf445 commit a9844ae

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

cmd/web.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -562,6 +562,8 @@ func runWeb(ctx *cli.Context) error {
562562
})
563563
// ***** END: Repository *****
564564

565+
m.Get("/notifications", reqSignIn, user.Notifications)
566+
565567
m.Group("/api", func() {
566568
apiv1.RegisterRoutes(m)
567569
}, ignSignIn)

routers/user/notification.go

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
package user
2+
3+
import (
4+
"code.gitea.io/gitea/modules/context"
5+
)
6+
7+
// Notifications is the notifications page
8+
func Notifications(c *context.Context) {
9+
panic("Not implemented")
10+
}

0 commit comments

Comments
 (0)