Add a changelog entry for the *Framework.Render usage

Former-commit-id: 8d27f0f8fb547670d02bc24e6bb42d83095e5722
This commit is contained in:
Gerasimos (Makis) Maropoulos 2017-03-05 20:11:29 +02:00
parent b60142a2da
commit a0db147479

View File

@ -2,7 +2,7 @@
**How to upgrade**: Open your command-line and execute this command: `go get -u gopkg.in/kataras/iris.v6`.
## Looking for further support?
## Looking for free support?
http://support.iris-go.com
@ -58,11 +58,11 @@ app.Render(buff, "my_template.html", nil)
```
```go
// you can take the app(*Framework instance) from a *Context too:
// you can take the app(*Framework instance) via *Context.Framework() too:
app.Get("/send_mail", func(ctx *iris.Context){
buff := &bytes.Buffer{}
ctx.Framework().Render()(buff, "my_template.html", nil)
ctx.Framework().Render(buff, "my_template.html", nil)
// ...
})