mirror of
https://github.com/astaxie/beego.git
synced 2024-12-23 01:50:49 +00:00
fix typo error
This commit is contained in:
parent
cb876268b5
commit
62f54cbbee
@ -140,7 +140,7 @@ func (c *Controller) RenderString() (string, error) {
|
||||
return string(b), e
|
||||
}
|
||||
|
||||
// RenderBytes returns the bytes of renderd tempate string. Do not send out response.
|
||||
// RenderBytes returns the bytes of rendered template string. Do not send out response.
|
||||
func (c *Controller) RenderBytes() ([]byte, error) {
|
||||
//if the controller has set layout, then first get the tplname's content set the content to the layout
|
||||
if c.Layout != "" {
|
||||
|
Loading…
Reference in New Issue
Block a user