mirror of https://github.com/gin-gonic/gin.git
commit
474eed41c2
|
@ -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