summaryrefslogtreecommitdiffstats
path: root/app/template-html.lsp
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2012-02-02 22:19:45 +0000
committerTed Trask <ttrask01@yahoo.com>2012-02-02 22:19:45 +0000
commitc6aaa2c52c4ca3c9c3ecd95ceed29bc75b3be1a3 (patch)
tree96c67df79fc817e031d724181b1e759acb72f20a /app/template-html.lsp
parentdf80810456f4a13d48eba24bfa1fa79b360c8426 (diff)
downloadacf-core-c6aaa2c52c4ca3c9c3ecd95ceed29bc75b3be1a3.tar.bz2
acf-core-c6aaa2c52c4ca3c9c3ecd95ceed29bc75b3be1a3.tar.xz
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
Diffstat (limited to 'app/template-html.lsp')
-rw-r--r--app/template-html.lsp3
1 files changed, 1 insertions, 2 deletions
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
<div class="leader">
</div>
- <% local func = haserl.loadfile(pageinfo.viewfile) %>
- <% func (viewtable, viewlibrary, pageinfo, session) %>
+ <% pageinfo.viewfunc(viewtable, viewlibrary, pageinfo, session) %>
<div class="tailer">
</div>