Routes and show controller functions for login and logout

This commit is contained in:
max
2022-11-01 11:23:44 -05:00
parent 5a9ee796f8
commit 187d10ca4a
2 changed files with 10 additions and 0 deletions

View File

@ -20,5 +20,7 @@ func GetRoutes(app *app.App) {
// Pages
http.HandleFunc("/", getController.ShowHome)
http.HandleFunc("/login", getController.ShowLogin)
http.HandleFunc("/register", getController.ShowRegister)
http.HandleFunc("/logout", getController.Logout)
}