From 51d5dde7b4e7ead147cf08f6e6a5a7cce26a4cb3 Mon Sep 17 00:00:00 2001 From: Victor Lacasse-Beaudoin Date: Wed, 26 Apr 2023 15:15:43 -0400 Subject: [PATCH] Fix formattage de handlers html --- cmd/server.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cmd/server.go b/cmd/server.go index db3bb32..8aaee8d 100644 --- a/cmd/server.go +++ b/cmd/server.go @@ -573,16 +573,20 @@ func handleActualiteArticle(c echo.Context) error { article := c.Param("article") return c.String(http.StatusOK, fmt.Sprintf("Article: %s", article)) } + func handleVieEtudiante(c echo.Context) error { return c.Render(http.StatusOK, "vie-etudiante-html", nil) } + func handleVieEtudianteOrganisme(c echo.Context) error { organisme := c.Param("organisme") return c.String(http.StatusOK, fmt.Sprintf("Organisme: %s", organisme)) } + func handleDocumentation(c echo.Context) error { return c.Render(http.StatusOK, "documentation-html", nil) } + func handleFormulaires(c echo.Context) error { return c.Render(http.StatusOK, "formulaires-html", nil) }