2024-10-10 13:44:17 -04:00
|
|
|
package home
|
|
|
|
|
|
|
|
|
|
import (
|
2024-10-11 16:47:52 -04:00
|
|
|
"log"
|
|
|
|
|
|
2024-10-10 13:44:17 -04:00
|
|
|
"github.com/labstack/echo/v4"
|
2024-10-11 16:47:52 -04:00
|
|
|
|
2024-10-10 13:44:17 -04:00
|
|
|
"github.com/onsonr/sonr/internal/ctx"
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
func Route(c echo.Context) error {
|
2024-10-11 16:47:52 -04:00
|
|
|
s := ctx.GetSession(c)
|
|
|
|
|
log.Println(s.ID())
|
2024-10-10 13:44:17 -04:00
|
|
|
return ctx.RenderTempl(c, View())
|
|
|
|
|
}
|