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/template-html.lsp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'app/template-html.lsp') diff --git a/app/template-html.lsp b/app/template-html.lsp index a37a31e..81043b6 100644 --- a/app/template-html.lsp +++ b/app/template-html.lsp @@ -131,8 +131,7 @@ end
- <% local func = haserl.loadfile(pageinfo.viewfile) %> - <% func (viewtable, viewlibrary, pageinfo, session) %> + <% pageinfo.viewfunc(viewtable, viewlibrary, pageinfo, session) %>
-- cgit v1.2.3