summaryrefslogtreecommitdiffstats
path: root/app/template-ajax.lsp
diff options
context:
space:
mode:
Diffstat (limited to 'app/template-ajax.lsp')
-rw-r--r--app/template-ajax.lsp6
1 files changed, 2 insertions, 4 deletions
diff --git a/app/template-ajax.lsp b/app/template-ajax.lsp
index 96e6378..bb7fc9f 100644
--- a/app/template-ajax.lsp
+++ b/app/template-ajax.lsp
@@ -1,8 +1,6 @@
-<% local view, viewlibrary, page_info = ... %>
+<% local view, viewlibrary, page_info, session = ... %>
<% require("json") %>
Status: 200 OK
Content-Type: "application/json"
<% io.write("\n") %>
-<%
- print(json.encode(view))
-%>
+<% page_info.viewfunc(view, viewlibrary, page_info, session) %>