1
0
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:
Vishal Rana
2015-04-18 17:02:02 -07:00
parent 381fbae1ff
commit a9c41b367c
2 changed files with 16 additions and 122 deletions
+1 -1
View File
@@ -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) {