From c6aaa2c52c4ca3c9c3ecd95ceed29bc75b3be1a3 Mon Sep 17 00:00:00 2001 From: Ted Trask Date: Thu, 2 Feb 2012 22:19:45 +0000 Subject: Changed mvc and www view_resolvers to make auto_view work Templates (for www) now receive a viewfunc, rather than using viewfile. Actions without views with viewtype of html, ajax, stream, or serialized will now be displayed using standard code. Fixed bug in acf-cli parameters messing up action --- app/acf_cli-controller.lua | 6 ------ 1 file changed, 6 deletions(-) (limited to 'app/acf_cli-controller.lua') diff --git a/app/acf_cli-controller.lua b/app/acf_cli-controller.lua index f3b7d6f..e68dfe9 100644 --- a/app/acf_cli-controller.lua +++ b/app/acf_cli-controller.lua @@ -30,12 +30,6 @@ end mvc.post_exec = function () end -view_resolver = function(self) - return function (viewtable) - print(session.serialize("result", viewtable)) - end -end - exception_handler = function (self, message ) print(session.serialize("exception", message)) parent_exception_handler(self, message) -- cgit v1.2.3