Ajouter lecture de document par route html #48
1 changed files with 4 additions and 0 deletions
|
@ -573,16 +573,20 @@ func handleActualiteArticle(c echo.Context) error {
|
||||||
article := c.Param("article")
|
article := c.Param("article")
|
||||||
return c.String(http.StatusOK, fmt.Sprintf("Article: %s", article))
|
return c.String(http.StatusOK, fmt.Sprintf("Article: %s", article))
|
||||||
}
|
}
|
||||||
|
|
||||||
func handleVieEtudiante(c echo.Context) error {
|
func handleVieEtudiante(c echo.Context) error {
|
||||||
return c.Render(http.StatusOK, "vie-etudiante-html", nil)
|
return c.Render(http.StatusOK, "vie-etudiante-html", nil)
|
||||||
}
|
}
|
||||||
|
|
||||||
func handleVieEtudianteOrganisme(c echo.Context) error {
|
func handleVieEtudianteOrganisme(c echo.Context) error {
|
||||||
organisme := c.Param("organisme")
|
organisme := c.Param("organisme")
|
||||||
return c.String(http.StatusOK, fmt.Sprintf("Organisme: %s", organisme))
|
return c.String(http.StatusOK, fmt.Sprintf("Organisme: %s", organisme))
|
||||||
}
|
}
|
||||||
|
|
||||||
func handleDocumentation(c echo.Context) error {
|
func handleDocumentation(c echo.Context) error {
|
||||||
return c.Render(http.StatusOK, "documentation-html", nil)
|
return c.Render(http.StatusOK, "documentation-html", nil)
|
||||||
}
|
}
|
||||||
|
|
||||||
func handleFormulaires(c echo.Context) error {
|
func handleFormulaires(c echo.Context) error {
|
||||||
return c.Render(http.StatusOK, "formulaires-html", nil)
|
return c.Render(http.StatusOK, "formulaires-html", nil)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue