瀏覽代碼

fix typo in comment

Jason Lee 11 年之前
父節點
當前提交
f35dc49c68
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      deprecated.go

+ 1 - 1
deprecated.go

@@ -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...)
 }
 }