mirror of
https://github.com/kataras/iris.git
synced 2025-12-28 07:17:06 +00:00
fix typo
Former-commit-id: 7b5d5530279789a3118190feb57776948b305662
This commit is contained in:
@@ -62,7 +62,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.
|
||||
//
|
||||
@@ -109,7 +109,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