Routes and show controller functions for login and logout
This commit is contained in:
@ -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)
|
||||
}
|
||||
|
Reference in New Issue
Block a user