mirror of
https://github.com/kataras/iris.git
synced 2026-01-08 20:41:57 +00:00
fix typo
Former-commit-id: 7b5d5530279789a3118190feb57776948b305662
This commit is contained in:
@@ -53,7 +53,7 @@ func (s *AmberEngine) Binary(assetFn func(name string) ([]byte, error), namesFn
|
||||
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.
|
||||
//
|
||||
@@ -91,7 +91,7 @@ func (s *AmberEngine) 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