mirror of
https://github.com/kataras/iris.git
synced 2026-01-07 20:17:05 +00:00
gofmted -s
This commit is contained in:
@@ -100,7 +100,7 @@ func (t *templateEngines) render(isFile bool, ctx *Context, filenameOrSource str
|
||||
if len(options) > 0 {
|
||||
options[0]["layout"] = ctxLayout
|
||||
} else {
|
||||
options = []map[string]interface{}{map[string]interface{}{"layout": ctxLayout}}
|
||||
options = []map[string]interface{}{{"layout": ctxLayout}}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user