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:
@@ -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"))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user