diff options
author | Ted Trask <ttrask01@yahoo.com> | 2012-11-06 17:11:41 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2012-11-06 17:11:41 +0000 |
commit | 2e726d532bf7fe8b1e4f5f3912db32f5f0ba6c32 (patch) | |
tree | 486b0f135a0ae47d1c0cd23b9c2c8c8700644614 /app/template-json.lsp | |
parent | 75a7e7783b59b41832fd0610e593b9adbd4aaf36 (diff) | |
download | acf-core-2e726d532bf7fe8b1e4f5f3912db32f5f0ba6c32.tar.bz2 acf-core-2e726d532bf7fe8b1e4f5f3912db32f5f0ba6c32.tar.xz |
Rename ajax viewtype to json to be more accurate
Diffstat (limited to 'app/template-json.lsp')
-rw-r--r-- | app/template-json.lsp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/app/template-json.lsp b/app/template-json.lsp new file mode 100644 index 0000000..03dd5bf --- /dev/null +++ b/app/template-json.lsp @@ -0,0 +1,5 @@ +<% local view, viewlibrary, page_info, session = ... %> +Status: 200 OK +Content-Type: "application/json" +<% io.write("\n") %> +<% page_info.viewfunc(view, viewlibrary, page_info, session) %> |