forked from p85947160/gitea
Register notification router
This commit is contained in:
parent
fedf445f6a
commit
a9844aeb8d
|
@ -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)
|
||||
|
|
|
@ -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")
|
||||
}
|
Loading…
Reference in New Issue