mirror of
https://github.com/kataras/iris.git
synced 2026-01-08 20:41:57 +00:00
resolve conflicts with current master v11.1.1
Former-commit-id: 659ff392e889f3a8552d7da3d44848f1a364f7b2
This commit is contained in:
@@ -64,7 +64,7 @@ func (s *HandlebarsEngine) Binary(assetFn func(name string) ([]byte, error), nam
|
||||
return s
|
||||
}
|
||||
|
||||
// Reload if setted to true the templates are reloading on each render,
|
||||
// Reload if set to true the templates are reloading on each render,
|
||||
// use it when you're in development and you're boring of restarting
|
||||
// the whole app when you edit a template file.
|
||||
//
|
||||
@@ -111,7 +111,7 @@ func (s *HandlebarsEngine) Load() error {
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
// change the directory field configuration, load happens after directory has been setted, so we will not have any problems here.
|
||||
// change the directory field configuration, load happens after directory has been set, so we will not have any problems here.
|
||||
s.directory = dir
|
||||
return s.loadDirectory()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user