1
0
Fork 0
forked from goffee/cup

start controllers

This commit is contained in:
Zeni Kim 2024-09-15 14:05:45 -05:00
parent ed505562ff
commit 17f3156efc
3 changed files with 9 additions and 9 deletions

View file

@ -3,7 +3,7 @@
// Use of this source code is governed by MIT-style
// license that can be found in the LICENSE file.
package handlers
package controllers
import (
"encoding/json"

View file

@ -3,7 +3,7 @@
// Use of this source code is governed by MIT-style
// license that can be found in the LICENSE file.
package handlers
package controllers
import (
"git.smarteching.com/goffee/core"

View file

@ -18,12 +18,12 @@ func registerRoutes() {
//#############################
// Define your routes here...
router.Get("/", handlers.WelcomeHome)
router.Get("/", controllers.WelcomeHome)
// Uncomment the lines below to enable authentication
// router.Post("/signup", handlers.Signup)
// router.Post("/signin", handlers.Signin)
// router.Post("/signout", handlers.Signout)
// router.Post("/reset-password", handlers.ResetPasswordRequest)
// router.Post("/reset-password/code/:code", handlers.SetNewPassword)
// router.Get("/dashboard", handlers.WelcomeToDashboard, middlewares.AuthCheck)
// router.Post("/signup", controllers.Signup)
// router.Post("/signin", controllers.Signin)
// router.Post("/signout", controllers.Signout)
// router.Post("/reset-password", controllers.ResetPasswordRequest)
// router.Post("/reset-password/code/:code", controllers.SetNewPassword)
// router.Get("/dashboard", controllers.WelcomeToDashboard, middlewares.AuthCheck)
}