1
0
mirror of https://github.com/kataras/iris.git synced 2025-12-17 09:57:01 +00:00

New feature: Fallback views. Read HISTORY.md

This commit is contained in:
Gerasimos (Makis) Maropoulos
2021-01-24 14:08:37 +02:00
parent a2588e480d
commit 435f284815
16 changed files with 316 additions and 44 deletions

View File

@@ -410,11 +410,7 @@ func (app *Application) View(writer io.Writer, filename string, layout string, b
return err
}
err := app.view.ExecuteWriter(writer, filename, layout, bindingData)
if err != nil {
app.logger.Error(err)
}
return err
return app.view.ExecuteWriter(writer, filename, layout, bindingData)
}
// ConfigureHost accepts one or more `host#Configuration`, these configurators functions