1
0
mirror of https://github.com/kataras/iris.git synced 2025-12-18 02:17:05 +00:00

minor: example improvement

This commit is contained in:
Gerasimos (Makis) Maropoulos
2023-01-25 05:50:42 +02:00
parent 0e0ca214cb
commit fc4214e9ae
12 changed files with 13 additions and 15 deletions

View File

@@ -26,7 +26,7 @@ func newApp() *iris.Application {
app := iris.New()
// Auth part.
app.RegisterView(iris.Blocks(iris.Dir("./views"), ".html").
app.RegisterView(iris.Blocks("./views", ".html").
LayoutDir("layouts").
Layout("main"))