signed-in dashboard and navbar changes
This commit is contained in:
parent
e878bfb80f
commit
4b912b9ae6
8 changed files with 47 additions and 16 deletions
2
web.go
2
web.go
|
@ -57,7 +57,7 @@ func runWeb(*cli.Context) {
|
|||
m.Use(sessions.Sessions("my_session", store))
|
||||
|
||||
// Routers.
|
||||
m.Get("/", routers.Dashboard)
|
||||
m.Get("/", routers.Home)
|
||||
m.Any("/user/login", user.SignIn)
|
||||
|
||||
m.Any("/user/sign_up", binding.BindIgnErr(auth.RegisterForm{}), user.SignUp)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue