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 --- bin/acf-cli | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/acf-cli b/bin/acf-cli index d2f7006..1c2fe6a 100755 --- a/bin/acf-cli +++ b/bin/acf-cli @@ -30,7 +30,7 @@ APP=FRAMEWORK:new("acf_cli") local p,c,a = APP.parse_path_info(arg[1]) local clientdata = {} for i=2,#arg do - a,v = string.match(arg[i], "([^=]*)=(.*)") + local a,v = string.match(arg[i], "([^=]*)=(.*)") if v then clientdata[a] = v else -- cgit v1.2.3