From fcbfda7c406c4e2ce367009c6ffeeb952da35db5 Mon Sep 17 00:00:00 2001 From: welefen Date: Wed, 27 Nov 2013 09:59:36 +0800 Subject: [PATCH] update --- lib/Tpl/common.js | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 lib/Tpl/common.js diff --git a/lib/Tpl/common.js b/lib/Tpl/common.js new file mode 100644 index 00000000..ac13e096 --- /dev/null +++ b/lib/Tpl/common.js @@ -0,0 +1,7 @@ +//这里定义一些全局通用的函数,该文件会被自动加载 +/** + * //返回首页 + * global.return_home = function(group, controller, http){ + * http.redirect("/"); + * } + */ \ No newline at end of file