forked from goffee/cup
migration
This commit is contained in:
parent
35d26e5868
commit
a756cd418d
6 changed files with 14 additions and 32 deletions
|
|
@ -8,7 +8,7 @@ package main
|
|||
import (
|
||||
"git.smarteching.com/goffee/core"
|
||||
"git.smarteching.com/goffee/cup/controllers"
|
||||
"git.smarteching.com/goffee/cup/middlewares"
|
||||
"git.smarteching.com/goffee/cup/hooks"
|
||||
)
|
||||
|
||||
// Register the app controllers
|
||||
|
|
@ -26,5 +26,5 @@ func registerRoutes() {
|
|||
// controller.Post("/signout", controllers.Signout)
|
||||
// controller.Post("/reset-password", controllers.ResetPasswordRequest)
|
||||
// controller.Post("/reset-password/code/:code", controllers.SetNewPassword)
|
||||
controller.Get("/dashboard", controllers.WelcomeToDashboard, middlewares.AuthCheck)
|
||||
controller.Get("/dashboard", controllers.WelcomeToDashboard, hooks.AuthCheck)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue