Files
sonr/pkg/nebula/router.go
T

16 lines
440 B
Go
Raw Normal View History

2024-09-21 21:42:51 -04:00
package nebula
2024-09-18 02:22:17 -04:00
import (
"github.com/labstack/echo/v4"
2024-09-22 02:51:52 -04:00
"github.com/onsonr/sonr/pkg/nebula/routes"
"github.com/onsonr/sonr/pkg/nebula/view"
2024-09-18 02:22:17 -04:00
)
2024-09-21 21:42:51 -04:00
func RouteViews(e *echo.Echo) {
2024-09-22 02:51:52 -04:00
e.GET("/home", view.Render(routes.HomeRoute))
e.GET("/login", view.Render(routes.LoginRoute))
e.GET("/register", view.Render(routes.RegisterRoute))
e.GET("/profile", view.Render(routes.ProfileRoute))
e.GET("/authorize", view.Render(routes.AuthorizeRoute))
2024-09-18 02:22:17 -04:00
}