mirror of https://github.com/gin-gonic/gin.git
fix typo in comment
This commit is contained in:
parent
1479952fbc
commit
f35dc49c68
|
@ -41,7 +41,7 @@ func (engine *Engine) LoadHTMLTemplates(pattern string) {
|
||||||
engine.LoadHTMLGlob(pattern)
|
engine.LoadHTMLGlob(pattern)
|
||||||
}
|
}
|
||||||
|
|
||||||
// DEPRECATED. Use NotFound() instead
|
// DEPRECATED. Use NoRoute() instead
|
||||||
func (engine *Engine) NotFound404(handlers ...HandlerFunc) {
|
func (engine *Engine) NotFound404(handlers ...HandlerFunc) {
|
||||||
engine.NoRoute(handlers...)
|
engine.NoRoute(handlers...)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue