Added models; started working on project routes
This commit is contained in:
@ -9,4 +9,15 @@ import (
|
||||
func RegisterRoutes(f *flamego.Flame) {
|
||||
// index routes
|
||||
f.Get("/", routes.GetDashboard)
|
||||
|
||||
// project routes
|
||||
f.Group("/project", func() {
|
||||
f.Get("", func(c flamego.Context) {
|
||||
c.Redirect("/project/list")
|
||||
})
|
||||
|
||||
f.Get("/list", routes.ProjectGetList)
|
||||
|
||||
f.Get("/create", routes.ProjectGetCreate)
|
||||
})
|
||||
}
|
||||
|
Reference in New Issue
Block a user