mirror of
https://github.com/labstack/echo.git
synced 2026-05-16 09:48:24 +02:00
Fixed example and updated readme.
Signed-off-by: Vishal Rana <vr@labstack.com>
This commit is contained in:
+1
-1
@@ -34,7 +34,7 @@ func (t *Template) Render(w io.Writer, name string, data interface{}) error {
|
||||
}
|
||||
|
||||
func welcome(c *echo.Context) {
|
||||
c.Render("welcome", "Joe")
|
||||
c.Render(http.StatusOK, "welcome", "Joe")
|
||||
}
|
||||
|
||||
func createUser(c *echo.Context) {
|
||||
|
||||
Reference in New Issue
Block a user