22 Commits

Author SHA1 Message Date
lichengyin
5aeb5c1623 use base template to render error page 2016-01-13 17:30:45 +08:00
lichengyin
b6de9564f5 update think.d.ts 2016-01-07 18:22:36 +08:00
lichengyin
d72f2ec396 update ts template files 2016-01-07 16:50:59 +08:00
lichengyin
87eec57ad6 add ts template files 2016-01-07 09:51:09 +08:00
lichengyin
d0c6a45eb2 rename template filename 2016-01-05 10:21:09 +08:00
lichengyin
929c1f2b35 rename es6 to es 2016-01-05 09:48:24 +08:00
lichengyin
98fa0c2e2a rename displayErrorPage method to displayError 2015-12-25 15:18:40 +08:00
lichengyin
08991c2b9e hide error message on production env 2015-12-25 15:17:30 +08:00
lichengyin
0e74edcb49 hide error message on production env 2015-12-25 15:15:51 +08:00
lichengyin
0225d468a2 fix missing comma when create rest controller without es6 2015-11-15 21:29:12 +08:00
lichengyin
a97840397a when has error, send json data when request is ajax or jsonp 2015-11-12 18:22:35 +08:00
lichengyin
20b01ed706 force set file_depr config value to _ when render error page 2015-10-29 14:43:13 +08:00
lichengyin
297de23583 add init method for rest controller template 2015-10-20 09:55:39 +08:00
lichengyin
6f82f4f9ab add _400Action for es6 template controller 2015-08-27 13:47:02 +08:00
lichengyin
8032c22f24 add 400 statusAction for invalid controller or action name 2015-08-27 13:45:45 +08:00
welefen
9990758799 update thinkjs command 2015-08-25 17:43:53 +08:00
welefen
46dd160e1b fix eslint errors for template files 2015-08-24 18:09:49 +08:00
welefen
44c0296a11 add template files 2015-08-24 18:06:14 +08:00
welefen
8ea03592fb update controller template 2015-08-21 15:31:02 +08:00
welefen
9d503b39f8 update error controller template 2015-08-21 15:17:45 +08:00
welefen
3e13db07d9 remove app_error hook, use think.statusAction instead 2015-08-07 15:34:59 +08:00
welefen
808701902b add template file for application create 2015-08-07 14:39:09 +08:00