summaryrefslogtreecommitdiffstats
path: root/app/template-stream.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-stream.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-stream.lsp')
-rw-r--r--app/template-stream.lsp2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/template-stream.lsp b/app/template-stream.lsp
index e8a6e68..17693af 100644
--- a/app/template-stream.lsp
+++ b/app/template-stream.lsp
@@ -9,4 +9,4 @@ Content-Length: <%= viewtable.length %>
Content-Disposition: attachment; filename="<%= viewtable.label %>"
<% end %>
<% io.write("\n") %>
-<%= viewtable.value %>
+<% pageinfo.viewfunc(viewtable, viewlibrary, pageinfo, session) %>