Register notification router

This commit is contained in:
Andrey Nering 2016-12-06 21:19:52 -02:00
parent fedf445f6a
commit a9844aeb8d
2 changed files with 12 additions and 0 deletions

View File

@ -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)

View File

@ -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")
}